We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7e40c7 commit cfd0a9fCopy full SHA for cfd0a9f
.github/workflows/deploy.yml
@@ -6,7 +6,7 @@ on:
6
- main
7
8
jobs:
9
- build-and-deploy:
+ build:
10
runs-on: ubuntu-latest
11
12
steps:
@@ -27,9 +27,18 @@ jobs:
27
- name: Add CNAME file
28
run: echo "opencollaboration.dev" > build/CNAME
29
30
- - name: Deploy to GitHub Pages
31
- uses: peaceiris/actions-gh-pages@v3
+ - name: Upload Pages artifact
+ uses: actions/upload-pages-artifact@v3
32
with:
33
- github_token: ${{ secrets.GITHUB_TOKEN }}
34
- publish_dir: ./build
35
- publish_branch: gh-pages
+ path: build
+
+ deploy:
36
+ needs: build
37
+ runs-on: ubuntu-latest
38
+ environment:
39
+ name: github-pages
40
+ url: ${{ steps.deployment.outputs.page_url }}
41
+ steps:
42
+ - name: Deploy to GitHub Pages
43
+ id: deployment
44
+ uses: actions/deploy-pages@v4
0 commit comments