Skip to content

Commit

Permalink
Merge pull request #59 from Blvckleg/deploy-pipeline
Browse files Browse the repository at this point in the history
Deploy pipeline
  • Loading branch information
sanriodev authored Feb 25, 2024
2 parents e5d1e36 + b4a7e69 commit 3a1426d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 15 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy

on:
workflow_run:
workflows: [Docker Image CI]
types: [completed]
branches: [master]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_KEY }}
passphrase: ${{ secrets.SERVER_PASSPHRASE }}
script_stop: true
script: |
cd bingusboingus
docker compose pull
docker compose up -d
###ssh sachen
# https://github.com/appleboy/ssh-action
15 changes: 0 additions & 15 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,6 @@
"skipFiles": [
"<node_internals>/**"
]
},
{
"type": "node",
"request": "launch",
"name": "start:lukas",
"runtimeExecutable": "npm",
"console": "integratedTerminal",
"envFile": "${workspaceFolder}/.env.lukas",
"runtimeArgs": [
"run-script",
"start:debug"
],
"skipFiles": [
"<node_internals>/**"
]
}
]
}

0 comments on commit 3a1426d

Please sign in to comment.