feat: remove scp
This commit is contained in:
@@ -15,9 +15,6 @@ jobs:
|
|||||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 📥 Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Configuration SSH
|
- name: Configuration SSH
|
||||||
run: |
|
run: |
|
||||||
mkdir -p "$HOME/.ssh"
|
mkdir -p "$HOME/.ssh"
|
||||||
@@ -29,13 +26,6 @@ jobs:
|
|||||||
-H "${{ secrets.DEPLOY_HOST }}" \
|
-H "${{ secrets.DEPLOY_HOST }}" \
|
||||||
>> "$HOME/.ssh/known_hosts"
|
>> "$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
|
- name: 🚀 Deploy Docker
|
||||||
run: |
|
run: |
|
||||||
ssh \
|
ssh \
|
||||||
|
|||||||
Reference in New Issue
Block a user