diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..d2465abc --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,20 @@ +name: Deploy + +on: + push: + branches: [ "main" ] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Deploy + uses: appleboy/ssh-action@v1.0.3 + with: + host: 143.110.167.235 + username: root + key: ${{secrets.SSH_PRIVATE_KEY}} + port: 22 + script: | + cd /var/www/meet + git pull --no-rebase