Skip to content

Commit a74e7cc

Browse files
tulshiFragLegs
andauthored
added publish-to-pages job (#76)
* added publish-to-pages job * Update .github/workflows/build-everything.yml Co-authored-by: Shayne Miel (he/him) <miel.shayne@gmail.com> * testing on working branch * removed caep artifacts * tested successfully on update-workflow branch. Now reverting to main --------- Co-authored-by: Shayne Miel (he/him) <miel.shayne@gmail.com>
1 parent c0e6903 commit a74e7cc

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.github/workflows/build-everything.yml

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

0 commit comments

Comments
 (0)