We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17f793a commit 9ff1225Copy full SHA for 9ff1225
.github/workflows/build.yaml
@@ -9,9 +9,6 @@ jobs:
9
runs-on: ubuntu-latest
10
container:
11
image: archlinux:latest
12
- permissions:
13
- id-token: write
14
- pages: write
15
steps:
16
- uses: actions/checkout@v4
17
- name: Setup
@@ -34,6 +31,16 @@ jobs:
34
31
uses: actions/upload-pages-artifact@v3
35
32
with:
36
33
path: /tmp/repo
+ deploy:
+ needs: build
+ if: github.event_name != 'pull_request'
37
+ runs-on: ubuntu-latest
38
+ permissions:
39
+ id-token: write
40
+ pages: write
41
+ environment:
42
+ name: github-pages
43
+ url: ${{ steps.deployment.outputs.page_url }}
44
+ steps:
45
- name: Deploy to GitHub Pages
- if: github.event.push
46
uses: actions/deploy-pages@v4
0 commit comments