Skip to content

Commit 4969994

Browse files
authored
chore: Setup page deploy (#16)
1 parent 6e901e9 commit 4969994

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/site.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ jobs:
2323
uses: actions/setup-node@v4
2424
with:
2525
node-version: lts/*
26-
- name: Setup rsvg
27-
run: sudo apt install -y librsvg2-bin
28-
- name: Setup svgo
29-
run: npm i -g svgo
26+
- name: Setup dependencies
27+
run: sudo apt install -y librsvg2-bin pngquant && npm i -g svgo
3028
- name: Build
3129
run: sh/site.sh
3230
- name: Upload
@@ -35,6 +33,9 @@ jobs:
3533
with:
3634
path: site/
3735
deploy:
36+
permissions:
37+
pages: write
38+
id-token: write
3839
environment:
3940
name: github-pages
4041
url: ${{ steps.deployment.outputs.page_url }}

sh/build.sh

100644100755
File mode changed.

sh/site.sh

100644100755
File mode changed.

sh/version.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)