add envs when running ssh commands
This commit is contained in:
parent
c922f4ecac
commit
68a47dbfaf
1 changed files with 1 additions and 0 deletions
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
|
|
@ -38,6 +38,7 @@ jobs:
|
|||
host: ${{ secrets.DO_HOST }}
|
||||
username: ${{ secrets.DO_USERNAME }}
|
||||
key: ${{ secrets.DO_KEY }}
|
||||
envs: IMAGE_PATH,APP_NAME,PORT
|
||||
script: |
|
||||
docker image pull $IMAGE_PATH
|
||||
docker container stop $APP_NAME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue