Skip to content

Commit

Permalink
Merge branch 'master' into prod
Browse files Browse the repository at this point in the history
  • Loading branch information
williamd1k0 committed Nov 2, 2024
2 parents 6c0a347 + 5f6d2c0 commit 0a437d6
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,12 @@ on:
- ".github/**"
workflow_dispatch:

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

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

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -40,11 +32,24 @@ jobs:
- name: Install jinja2
run: pip install jinja2-cli
- name: Build Site
id: build
run: make site
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: 'web/out'
path: "web/out"

deploy:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@main

0 comments on commit 0a437d6

Please sign in to comment.