Skip to content

Commit 042601d

Browse files
committed
feat: Add GitHub workflow for deployment to pages
1 parent 3cc6128 commit 042601d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: hydephp/action@master
16+
with:
17+
deploy-to: "pages"
18+
env: |
19+
SITE_NAME="JSON Schema - Documentation"
20+
SITE_URL="https://jsonrainbow.github.io/docs/"
21+
TORCHLIGHT_TOKEN=${{ secrets.TORCHLIGHT_TOKEN }}
22+
debug: true

0 commit comments

Comments
 (0)