|
|
@ -136,12 +136,13 @@ Pass environment variable to shell script
|
|
|
|
uses: appleboy/ssh-action@master
|
|
|
|
uses: appleboy/ssh-action@master
|
|
|
|
+ env:
|
|
|
|
+ env:
|
|
|
|
+ FOO: "BAR"
|
|
|
|
+ FOO: "BAR"
|
|
|
|
|
|
|
|
+ BAR: "FOO"
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
host: ${{ secrets.HOST }}
|
|
|
|
host: ${{ secrets.HOST }}
|
|
|
|
username: ${{ secrets.USERNAME }}
|
|
|
|
username: ${{ secrets.USERNAME }}
|
|
|
|
key: ${{ secrets.KEY }}
|
|
|
|
key: ${{ secrets.KEY }}
|
|
|
|
port: ${{ secrets.PORT }}
|
|
|
|
port: ${{ secrets.PORT }}
|
|
|
|
+ envs: FOO
|
|
|
|
+ envs: FOO,BAR
|
|
|
|
script: |
|
|
|
|
script: |
|
|
|
|
echo "I am $FOO"
|
|
|
|
echo "I am $FOO"
|
|
|
|
echo "I am $BAR"
|
|
|
|
echo "I am $BAR"
|
|
|
|