Skip to content

Update workflow

Update workflow #78

Workflow file for this run

name: Build Docs
on:
workflow_dispatch:
inputs:
ref:
required: false
type: string
repository_dispatch:
types: [update_data]
push:
paths:
- "_includes/**"
- "_layouts/**"
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ inputs.main_branch || github.event.client_payload.ref || env.GITHUB_REF_NAME || "devel" }}

Check failure on line 35 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / Build Docs

Invalid workflow file

The workflow is not valid. .github/workflows/docs.yml (Line: 35, Col: 16): Unexpected symbol: '"devel"'. Located at position 82 within expression: inputs.main_branch || github.event.client_payload.ref || env.GITHUB_REF_NAME || "devel"
- run: ./scripts/build-data.sh --remote
- run: |
./scripts/group.sh > ./_pages/actvity.md
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Build with Jekyll
run: bundle exec jekyll build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4