diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..3b8babe --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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/ssh-action@v1.0.3 + 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 diff --git a/.vscode/launch.json b/.vscode/launch.json index bea6a7f..0fe3ed5 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -33,21 +33,6 @@ "skipFiles": [ "/**" ] - }, - { - "type": "node", - "request": "launch", - "name": "start:lukas", - "runtimeExecutable": "npm", - "console": "integratedTerminal", - "envFile": "${workspaceFolder}/.env.lukas", - "runtimeArgs": [ - "run-script", - "start:debug" - ], - "skipFiles": [ - "/**" - ] } ] } \ No newline at end of file