Skip to content

Commit 86ac035

Browse files
authored
Bump github pages workflow (#3949)
## Description Bumps [github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) to v4. Previously, the action inconsistently pulled either the latest commit or its predecessor. ## Test plan Run the action and check whether it pulled latest commit
1 parent 84218f7 commit 86ac035

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/check-archs-consistency.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ on:
1515
workflow_dispatch:
1616

1717
jobs:
18-
if: github.repository == 'software-mansion/react-native-gesture-handler'
19-
2018
check:
19+
if: github.repository == 'software-mansion/react-native-gesture-handler'
2120
runs-on: ubuntu-latest
2221
concurrency:
2322
group: check-archs-consistency-${{ github.ref }}

.github/workflows/main.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ jobs:
1111

1212
runs-on: ubuntu-latest
1313

14+
permissions:
15+
contents: write
16+
1417
steps:
1518
- name: Check out
16-
uses: actions/checkout@v1
19+
uses: actions/checkout@v6
1720

1821
- name: Generate docs
1922
run: >-
@@ -24,8 +27,8 @@ jobs:
2427
&& yarn build
2528
2629
- name: Publish generated content to GitHub Pages
27-
uses: JamesIves/github-pages-deploy-action@releases/v3
30+
uses: JamesIves/github-pages-deploy-action@v4
2831
with:
29-
FOLDER: packages/docs-gesture-handler/build
30-
BRANCH: gh-pages
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
folder: packages/docs-gesture-handler/build
33+
branch: gh-pages
34+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)