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 7baf11b
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ 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 +37,19 @@ 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
permissions:
contents: write
pages: 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 7baf11b

Please sign in to comment.