diff --git a/.github/workflows/auto-publish.yml b/.github/workflows/auto-publish.yml index 0f565a2..5872255 100644 --- a/.github/workflows/auto-publish.yml +++ b/.github/workflows/auto-publish.yml @@ -45,24 +45,22 @@ jobs: - name: Setup build environment run: | - mkdir -p "${{ env.build_dir }}" - cp common/* level0/ + mkdir -p "${{ env.build_dir }}"/level{0,1,2} echo "time=$(date +"%Y%m%d%H%M%S")" >> "$GITHUB_OUTPUT" - # && cp common/* level1/ && cp common/* level2/ - name: Build Level 0 if: steps.filter.outputs.level0 == 'true' - run: bikeshed spec level0/index.bs "${{ env.build_dir }}/level0/index.html" + run: bikeshed spec level0/index.bs "${{ env.build_dir }}"/level0/index.html id: bikeshed # - name: Build Level 1 # if: steps.filter.outputs.level1 == 'true' - # run: bikeshed spec level1/index.bs "${{ env.build_dir }}/level1/index.html" + # run: bikeshed spec level1/index.bs "${{ env.build_dir }}"/level1/index.html # id: bikeshed # - name: Build Level 2 # if: steps.filter.outputs.level2 == 'true' - # run: bikeshed spec level2/index.bs "${{ env.build_dir }}/level2/index.html" + # run: bikeshed spec level2/index.bs "${{ env.build_dir }}"/level2/index.html # id: bikeshed - name: Deploy to GitHub Pages @@ -73,3 +71,4 @@ jobs: commit-message: "publish: changes at ${{ steps.bikeshed.outputs.time }}" branch: gh-pages tag: "v${{ steps.bikeshed.outputs.time }}" + clean: false diff --git a/common/anchors.bsdata b/anchors.bsdata similarity index 100% rename from common/anchors.bsdata rename to anchors.bsdata diff --git a/common/biblio.json b/biblio.json similarity index 100% rename from common/biblio.json rename to biblio.json diff --git a/common/link-defaults.infotree b/link-defaults.infotree similarity index 100% rename from common/link-defaults.infotree rename to link-defaults.infotree