Skip to content

Commit

Permalink
test older workflow for build and deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmanke committed Mar 26, 2024
1 parent ed3eb66 commit 789e76c
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/render-qmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,21 @@ jobs:
with:
path: ./docs

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

uses: peaceiris/actions-gh-pages@v3
if: ${{ !env.ACT }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: |
./docs

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

0 comments on commit 789e76c

Please sign in to comment.