mirror of
https://github.com/appleboy/ssh-action.git
synced 2024-11-27 02:06:10 +08: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:
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user