Skip to content

Commit 980dc65

Browse files
Migrate to deploy v4 (#14)
* Bump deploy action to v4 * Add write permission to workflow
1 parent d1b5bcd commit 980dc65

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/update-api-docs.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
- cron: '0 3 * * *'
1414
workflow_dispatch:
1515

16+
permissions:
17+
contents: write
1618
jobs:
1719
build:
1820
name: Build and update docs
@@ -44,12 +46,11 @@ jobs:
4446
run: |
4547
python update.py
4648
- name: Deploy
47-
uses: JamesIves/github-pages-deploy-action@releases/v3
49+
uses: JamesIves/github-pages-deploy-action@releases/v4
4850
with:
49-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50-
SINGLE_COMMIT: true
51-
BASE_BRANCH: main
52-
BRANCH: gh-pages
53-
FOLDER: dist
54-
GIT_CONFIG_NAME: V8 API docs updater
55-
GIT_CONFIG_EMAIL: [email protected]
51+
single-commit: true
52+
base-branch: main
53+
branch: gh-pages
54+
folder: dist
55+
git-config-name: V8 API docs updater
56+
git-config-email: [email protected]

0 commit comments

Comments
 (0)