Compare commits

...

3 Commits

Author SHA1 Message Date
Bo-Yi Wu a1cdb5eb76 chore: add testing 2023-04-13 15:12:59 +08:00
Bo-Yi Wu 34bd117751 chore: add testing 2023-04-13 15:11:43 +08:00
Bo-Yi Wu 9ffd10117a chore: add testing 2023-04-13 14:52:27 +08:00
1 changed files with 13 additions and 0 deletions

View File

@ -216,3 +216,16 @@ jobs:
script: |
git clone https://appleboy:${{ secrets.TEST_TOKEN }}@github.com/go-training/self-runner.git 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