mirror of
https://gitea.com/actions/appleboy-ssh-action.git
synced 2024-11-25 11:39:36 +01:00
chore(CI): show secrets.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
c7671d858f
commit
ba1d4fb0eb
1 changed files with 4 additions and 1 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -39,6 +39,7 @@ jobs:
|
|||
ls -al
|
||||
|
||||
# - name: stop script if command error
|
||||
# if: always()
|
||||
# uses: ./
|
||||
# with:
|
||||
# host: ${{ secrets.HOST }}
|
||||
|
@ -70,16 +71,18 @@ jobs:
|
|||
FOO: "BAR"
|
||||
BAR: "FOO"
|
||||
SHA: ${{ github.sha }}
|
||||
PORT: ${{ secrets.PORT }}
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.KEY }}
|
||||
port: ${{ secrets.PORT }}
|
||||
envs: FOO,BAR,SHA
|
||||
envs: FOO,BAR,SHA,PORT
|
||||
script: |
|
||||
echo "I am $FOO, thanks"
|
||||
echo "I am $BAR, thanks"
|
||||
echo "sha: $SHA"
|
||||
echo "port: $PORT"
|
||||
|
||||
- name: ssh key passphrase
|
||||
uses: ./
|
||||
|
|
Loading…
Reference in a new issue