Skip to content

Commit d1649dd

Browse files
committed
Merge branch 'main' of github.com:poldracklab/poldracklab.github.io
2 parents 3a4257b + 74b293f commit d1649dd

1 file changed

Lines changed: 20 additions & 3 deletions

File tree

.github/workflows/render.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
pull_request:
77
branches: [ "main" ]
88

9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
914
concurrency:
1015
group: ${{ github.workflow }}-${{ github.ref }}
1116
cancel-in-progress: true
@@ -49,8 +54,20 @@ jobs:
4954
REPO_OWNER: ${{ github.event.pull_request.head.repo.owner.login }}
5055
- name: build site
5156
run: quarto render .
52-
- name: Deploy
57+
- name: Upload Pages artifact
5358
if: github.event_name == 'push'
54-
uses: JamesIves/github-pages-deploy-action@v4
59+
uses: actions/upload-pages-artifact@v3
5560
with:
56-
folder: docs # The folder the action should deploy.
61+
path: docs
62+
63+
deploy:
64+
if: github.event_name == 'push'
65+
needs: render_site
66+
runs-on: ubuntu-latest
67+
environment:
68+
name: github-pages
69+
url: ${{ steps.deployment.outputs.page_url }}
70+
steps:
71+
- name: Deploy to GitHub Pages
72+
id: deployment
73+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)