Skip to content

Commit

Permalink
publish to GH pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristina committed Sep 6, 2023
1 parent a238e6c commit d66bca3
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions .github/workflows/Build-SIOPv2.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: OID4VCI document push
name: SIOPv2 document push
on:
push:
paths:
- 'openid-connect-self-issued-v2-1_0.md'
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
compile:
Expand All @@ -22,3 +23,28 @@ jobs:
name: OID4CI # optional
# Destination path
path: ./openid-connect-self-issued-v2-*.html # optional

publish-to-pages:
name: Publish to GitHub Pages
if: github.ref == 'refs/heads/main'
needs: [ compile ]
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: output
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v1
with:
path: .
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit d66bca3

Please sign in to comment.