Skip to content

Commit b4f4033

Browse files
committed
added publish-to-pages job
1 parent c0e6903 commit b4f4033

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/build-everything.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,25 @@ jobs:
4545
openid-caep-specification-1_0.txt
4646
openid-risc-profile-specification-1_0.html
4747
openid-risc-profile-specification-1_0.txt
48+
publish-to-pages:
49+
if: github.ref == 'refs/heads/main'
50+
needs: [build-rfc]
51+
runs-on: ubuntu-latest
52+
permissions:
53+
pages: write
54+
id-token: write
55+
environment:
56+
name: github-pages
57+
url: ${{ steps.deployment.outputs.page_url }}
58+
steps:
59+
- name: Download artifact
60+
uses: actions/download-artifact@v2
61+
with:
62+
name: output
63+
- name: Upload pages artifact
64+
uses: actions/upload-pages-artifact@v1
65+
with:
66+
path: .
67+
- name: Deploy to GitHub Pages
68+
id: deployment
69+
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)