diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..c556f2e --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,21 @@ +name: Deploy to production +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: build + uses: actions/checkout@v2 + + with: + host: ${{ secrets.PROD_SERVER }} + username: ${{ secrets.PROD_SERVER_USERNAME}} + key: ${{ secrets.PROD_SERVER_SSH_KEY }} + script: | + whoami + cd ~/stagetool-ui