Skip to content

Commit 75f5012

Browse files
committed
chore(ci): update gh-pages workflow to latest action versions
- Update actions/checkout from v2.3.1 to v4 - Update github-pages-deploy-action from 4.0.0 to v4 - Add permissions: contents: write for proper deployment access
1 parent 08cc103 commit 75f5012

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Build and Deploy to GitHub Pages
2+
permissions:
3+
contents: write
24
on:
35
push:
46
tags:
@@ -8,15 +10,15 @@ jobs:
810
runs-on: ubuntu-latest
911
steps:
1012
- name: Checkout 🛎️
11-
uses: actions/checkout@v2.3.1
13+
uses: actions/checkout@v4
1214

1315
- name: Install and Build
1416
run: |
1517
yarn
1618
yarn build-example
1719
1820
- name: Deploy 🚀
19-
uses: JamesIves/github-pages-deploy-action@4.0.0
21+
uses: JamesIves/github-pages-deploy-action@v4
2022
with:
2123
branch: gh-pages # The branch the action should deploy to.
2224
folder: examples # The folder the action should deploy.

0 commit comments

Comments
 (0)