Skip to content

Commit

Permalink
ci: pass env
Browse files Browse the repository at this point in the history
  • Loading branch information
Innei committed Sep 10, 2021
1 parent c94f1f3 commit e951652
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,18 @@ jobs:
steps:
- name: Exec deploy script with SSH
uses: appleboy/ssh-action@master
env:
JWTSECRET: ${{ secrets.JWTSECRET }}
with:
command_timeout: 10m
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
password: ${{ secrets.PASSWORD }}
envs: JWTSECRET
script: |
whoami
cd
source ~/.zshrc
cd mx
ls -a
node server-deploy.js --jwtSecret=$JWTSECRET
env:
JWTSECRET: ${{ secrets.JWTSECRET }}

0 comments on commit e951652

Please sign in to comment.