|
|
|
@@ -52,7 +52,7 @@ jobs:
|
|
|
|
|| github.ref == 'refs/heads/main'
|
|
|
|
|| github.ref == 'refs/heads/main'
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Setup SSH
|
|
|
|
- name: Setup SSH
|
|
|
|
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
|
|
|
|
uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
|
|
|
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -77,10 +77,11 @@ jobs:
|
|
|
|
(github.event_name == 'pull_request' && github.event.action != 'closed' && github.event.pull_request.merged == false)
|
|
|
|
(github.event_name == 'pull_request' && github.event.action != 'closed' && github.event.pull_request.merged == false)
|
|
|
|
|| github.ref == 'refs/heads/main'
|
|
|
|
|| github.ref == 'refs/heads/main'
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
|
|
|
- name: Checkout repository
|
|
|
|
|
|
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
|
|
|
|
|
|
|
|
|
|
- name: Sync files via scp
|
|
|
|
- name: Sync files via scp
|
|
|
|
uses: appleboy/scp-action@master
|
|
|
|
uses: appleboy/scp-action@7179e72a3fa4d4c33870a471708fda724fae7596 # master
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
host: ${{ env.SSH_HOST }}
|
|
|
|
host: ${{ env.SSH_HOST }}
|
|
|
|
username: ${{ env.SSH_USER }}
|
|
|
|
username: ${{ env.SSH_USER }}
|
|
|
|
@@ -98,7 +99,7 @@ jobs:
|
|
|
|
|| github.ref == 'refs/heads/main'
|
|
|
|
|| github.ref == 'refs/heads/main'
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Setup SSH
|
|
|
|
- name: Setup SSH
|
|
|
|
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
|
|
|
|
uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
|
|
|
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -124,7 +125,7 @@ jobs:
|
|
|
|
(github.event.action == 'closed' || github.event.pull_request.merged == true)
|
|
|
|
(github.event.action == 'closed' || github.event.pull_request.merged == true)
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Setup SSH
|
|
|
|
- name: Setup SSH
|
|
|
|
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
|
|
|
|
uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
|
|
|
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
|
|
|
|
|
|
|
|
|
|
|
|