Skip to content

Setup auto-publish for 2024 branch #121

Setup auto-publish for 2024 branch

Setup auto-publish for 2024 branch #121

Workflow file for this run

name: CI
on:
pull_request: {}
push:
branches: [main, '2024']
jobs:
main:
name: Build, Validate and Deploy
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: w3c/spec-prod@v2
with:
GH_PAGES_BRANCH: gh-pages
TOOLCHAIN: bikeshed
SOURCE: source-map.bs
DESTINATION: ${{ github.ref == "refs/heads/2024" && "2024/index.html" || "index.html" }}

Check failure on line 17 in .github/workflows/auto-publish.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/auto-publish.yml (Line: 17, Col: 24): Unexpected symbol: '"refs/heads/2024"'. Located at position 15 within expression: github.ref == "refs/heads/2024" && "2024/index.html" || "index.html"