mirror of
https://github.com/appleboy/ssh-action
synced 2024-02-26 13:34:02 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a1cdb5eb76 | |||
| 34bd117751 | |||
| 9ffd10117a |
@@ -216,3 +216,16 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
git clone https://appleboy:${{ secrets.TEST_TOKEN }}@github.com/go-training/self-runner.git test_repository
|
git clone https://appleboy:${{ secrets.TEST_TOKEN }}@github.com/go-training/self-runner.git test_repository
|
||||||
rm -rf test_repository
|
rm -rf test_repository
|
||||||
|
|
||||||
|
- name: pull private repository
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.HOST }}
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
key: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||||
|
port: ${{ secrets.PORT }}
|
||||||
|
script_stop: true
|
||||||
|
script: |
|
||||||
|
git clone git@github.com:go-training/self-runner.git test_repository2
|
||||||
|
cd test_repository2 && git pull
|
||||||
|
rm -rf test_repository2
|
||||||
|
|||||||
Reference in New Issue
Block a user