Skip to content

merged changes upstream #1

merged changes upstream

merged changes upstream #1

Workflow file for this run

name: build-site
run-name: build live site
on:
# run when called from another workflow
workflow_call:
# run if user manually requests it
workflow_dispatch:
# variables
env:
PREVIEWS_FOLDER: preview
permissions:
contents: write
jobs:
build-site:
runs-on: ubuntu-latest
steps:
- name: Debug dump
uses: crazy-max/ghaction-dump-context@v2
- name: Checkout branch contents
uses: actions/checkout@v4
- name: Install Ruby packages
<<<<<<< HEAD

Check failure on line 30 in .github/workflows/build-site.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-site.yaml

Invalid workflow file

You have an error in your yaml syntax on line 30
uses: ruby/[email protected]
=======
uses: ruby/setup-ruby@v1
>>>>>>> upstream/main
with:
ruby-version: "3.1"
bundler-cache: true
- name: Get Pages url
id: pages
uses: actions/configure-pages@v4
- name: SSH debug
if: runner.debug == '1'
uses: mxschmitt/action-tmate@v3
- name: Set root url
run: |
printf "\n\nurl: ${{ steps.pages.outputs.origin }}" >> _config.yaml
- name: Build live version of site
run: |
JEKYLL_ENV=production bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path || '' }}"
- name: Commit live site to Pages branch
uses: JamesIves/[email protected]
with:
folder: _site
clean-exclude: ${{ env.PREVIEWS_FOLDER }}
force: false