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
1 changed files with 2 additions and 1 deletions

View File

@ -66,12 +66,13 @@ jobs:
env: env:
FOO: "BAR" FOO: "BAR"
BAR: "FOO" BAR: "FOO"
SHA: ${{ github.sha }}
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,BAR envs: FOO,BAR,SHA
script: | script: |
echo "I am $FOO, thanks" echo "I am $FOO, thanks"
echo "I am $BAR, thanks" echo "I am $BAR, thanks"