Skip to content

Commit

Permalink
fix secret inputs (#4)
Browse files Browse the repository at this point in the history
* Update deploy-all.yml

fix secret inputs

* Update deploy-en.yml

* Update deploy-zh.yml
  • Loading branch information
Shinji-IkariG committed Oct 17, 2023
1 parent a497d95 commit d6cba9a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
jobs:
deploy-zh:
uses: ./.github/workflows/deploy-zh.yml

secrets:
ZHSITE_PASSWORD: ${{ secrets.ZHSITE_PASSWORD }}

deploy-en:
uses: ./.github/workflows/deploy-en.yml
secrets:
ENSITE_PASSWORD: ${{ secrets.ENSITE_PASSWORD }}
3 changes: 3 additions & 0 deletions .github/workflows/deploy-en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ env:
ACTIONTEST: master
on:
workflow_call:
secrets:
ENSITE_PASSWORD:
required: true
push:
branches:
# Remember to add v before the following version number unless the version is master.
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ env:
ACTIONTEST: master
on:
workflow_call:
secrets:
ZHSITE_PASSWORD:
required: true
push:
branches:
- master
Expand Down

0 comments on commit d6cba9a

Please sign in to comment.