Skip to content

Commit

Permalink
try using upload-pages action instead of deployment job
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdewar committed Jul 20, 2023
1 parent a1e4856 commit 239405c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: html
path: "."

# Deployment job
deploy:
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@v2
# # Deployment job
# deploy:
# 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@v2

0 comments on commit 239405c

Please sign in to comment.