Skip to content

Commit

Permalink
chore: make common files visible for bikeshed
Browse files Browse the repository at this point in the history
Signed-off-by: Wouter Termont <[email protected]>
  • Loading branch information
woutermont committed Dec 10, 2024
1 parent 45643be commit a5e2426
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a5e2426

Please sign in to comment.