Skip to content

Commit 824d19d

Browse files
authored
Merge pull request #245 from InsightSoftwareConsortium/github-pages
ci: add configuration to deploy to GitHub Pages
2 parents 529b483 + 5502083 commit 824d19d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,22 @@ jobs:
4949
with:
5050
name: dist
5151
path: dist/
52+
53+
- name: Upload pages artifact
54+
uses: actions/upload-pages-artifact@v3
55+
with:
56+
path: dist/
57+
58+
deploy:
59+
needs: build
60+
runs-on: ubuntu-latest
61+
permissions:
62+
pages: write
63+
id-token: write
64+
environment:
65+
name: github-pages
66+
url: ${{ steps.deployment.outputs.page_url }}
67+
steps:
68+
- name: Deploy to GitHub Pages
69+
id: deployment
70+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)