Skip to content

Commit

Permalink
ci: deprecate gh-pages branch deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
simbleau committed Apr 26, 2024
1 parent 638974a commit 2d8fd44
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/release-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ on:

jobs:
release:
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
Expand Down Expand Up @@ -80,8 +87,14 @@ jobs:
run: |
PDF='coverletter.pdf' j2 templates/embed.html.j2 > pub/coverletter-embed.html
- name: Deploy, Github Pages
uses: peaceiris/actions-gh-pages@v3
- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: pub/
path: 'pub/'

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

0 comments on commit 2d8fd44

Please sign in to comment.