feat: remove scp
This commit is contained in:
@@ -15,9 +15,6 @@ jobs:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 📥 Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Configuration SSH
|
||||
run: |
|
||||
mkdir -p "$HOME/.ssh"
|
||||
@@ -29,13 +26,6 @@ jobs:
|
||||
-H "${{ secrets.DEPLOY_HOST }}" \
|
||||
>> "$HOME/.ssh/known_hosts"
|
||||
|
||||
- name: 📄 Sync compose.prod.yaml
|
||||
run: |
|
||||
scp \
|
||||
-i "$HOME/.ssh/id_ed25519" \
|
||||
compose.prod.yaml \
|
||||
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:/data/docker/landing-server/docker-compose.yml
|
||||
|
||||
- name: 🚀 Deploy Docker
|
||||
run: |
|
||||
ssh \
|
||||
|
||||
Reference in New Issue
Block a user