diff --git a/.github/workflows/auto-publish.yml b/.github/workflows/auto-publish.yml index c2fd3aa..4eae0bf 100644 --- a/.github/workflows/auto-publish.yml +++ b/.github/workflows/auto-publish.yml @@ -2,7 +2,7 @@ name: CI on: pull_request: {} push: - branches: [main] + branches: [main, '2024'] jobs: main: name: Build, Validate and Deploy @@ -14,4 +14,4 @@ jobs: GH_PAGES_BRANCH: gh-pages TOOLCHAIN: bikeshed SOURCE: source-map.bs - DESTINATION: index.html + DESTINATION: ${{ github.ref == "refs/heads/2024" && "2024/index.html" || "index.html" }}