chore: Add Contexts and expression example

This commit is contained in:
Bo-Yi Wu 2020-02-09 11:25:59 +08:00
parent cfe9c45db6
commit 242a8e2e57

View File

@ -66,12 +66,13 @@ jobs:
env:
FOO: "BAR"
BAR: "FOO"
SHA: ${{ github.sha }}
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
envs: FOO,BAR
envs: FOO,BAR,SHA
script: |
echo "I am $FOO, thanks"
echo "I am $BAR, thanks"