Skip to content

Commit

Permalink
Switch to GitHub Pages for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Aug 8, 2024
1 parent 58d1ff4 commit c2670fd
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@ on:

name: Render and Publish
jobs:
build-deploy:
build:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -40,13 +34,20 @@ jobs:
uses: quarto-dev/quarto-actions/render@v2
with:
path: docs
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v4
- name: Deploy to Netlify
run: |
netlify deploy \
--prod \
--dir docs/_site \
--site ${{ secrets.NETLIFY_SITE }} \
--auth ${{ secrets.NETLIFY_TOKEN }}
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/_site
deploy:
runs-on: ubuntu-latest
needs: test
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit c2670fd

Please sign in to comment.