Skip to content

Commit

Permalink
setup auto publish close #49
Browse files Browse the repository at this point in the history
  • Loading branch information
podborski committed Jan 10, 2025
1 parent c353149 commit 9ec95f9
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Auto-Publish
on:
push:
branches: [master]

permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: pages
cancel-in-progress: true

jobs:
master:
name: Compile and deploy
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
cache: 'pip'
- run: pip install bikeshed

- name: Run bikeshed
run: |
bikeshed spec
mkdir dist
cp *.html dist
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./dist

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit 9ec95f9

Please sign in to comment.