diff --git a/.github/workflows/pull_and_run_on_server.yaml b/.github/workflows/pull_and_run_on_server.yaml index 2b85203..8e8c264 100644 --- a/.github/workflows/pull_and_run_on_server.yaml +++ b/.github/workflows/pull_and_run_on_server.yaml @@ -36,6 +36,15 @@ jobs: passphrase: ${{ secrets.SSH_PASSPHRASE }} source: "infra/stage/nginx.conf" target: ${{ env.DEPLOY_PATH }} + - name: Copy goodstart_bot.service via ssh + uses: appleboy/scp-action@v0.1.3 + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USER }} + key: ${{ secrets.SSH_KEY }} + passphrase: ${{ secrets.SSH_PASSPHRASE }} + source: "infra/stage/goodstart_bot.service" + target: ${{ env.DEPLOY_PATH }} - name: Executing remote ssh commands to deploy uses: appleboy/ssh-action@master with: