mirror of
https://github.com/appleboy/ssh-action.git
synced 2024-12-19 20:29:05 +00:00
chore: Add Contexts and expression example
This commit is contained in:
parent
cfe9c45db6
commit
242a8e2e57
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user