Skip to content

Commit

Permalink
Add pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt343 authored and newswim committed Sep 22, 2024
1 parent 45e3bf6 commit a699ad6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ on:

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

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
Expand Down Expand Up @@ -43,3 +49,12 @@ jobs:
- uses: actions/upload-pages-artifact@v3.0.1
with:
path: build/

deploy:
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit a699ad6

Please sign in to comment.