Skip to content

Commit

Permalink
cleans up action
Browse files Browse the repository at this point in the history
  • Loading branch information
Geert van Geest committed Mar 21, 2024
1 parent af03f2a commit 22bab9e
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/render-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
contents: read
pages: write
id-token: write

Expand Down Expand Up @@ -36,25 +36,9 @@ jobs:

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# If you're changing the branch from main,
# also change the `main` in `refs/heads/main`
# below accordingly.
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./_site

# jobs:
# docker:
# runs-on: ubuntu-latest
# container: geertvangeest/single-cell-rstudio:latest
# permissions:
# contents: write
# steps:
# - uses: actions/checkout@v4
# - name: Publish to GitHub Pages (and render)
# run: |
# quarto publish gh-pages . --no-browser
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions

0 comments on commit 22bab9e

Please sign in to comment.