Skip to content

Commit 0f6da00

Browse files
committed
Use with instead of env for actions-gh-pages
1 parent 63a442d commit 0f6da00

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ jobs:
126126
working-directory: ./wasm/notebook
127127
- name: Deploy demo to Github Pages
128128
uses: peaceiris/actions-gh-pages@v4
129-
env:
130-
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEMO_DEPLOY_KEY }}
131-
PUBLISH_DIR: ./wasm/demo/dist
132-
EXTERNAL_REPOSITORY: RustPython/demo
133-
PUBLISH_BRANCH: master
129+
with:
130+
deploy_key: ${{ secrets.ACTIONS_DEMO_DEPLOY_KEY }}
131+
publish_dir: ./wasm/demo/dist
132+
external_repository: RustPython/demo
133+
publish_branch: master
134134

135135
release:
136136
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)