diff --git a/.github/workflows/deploy.yml b/.github/workflows/production.yml similarity index 80% rename from .github/workflows/deploy.yml rename to .github/workflows/production.yml index d3978c2..bcb416f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/production.yml @@ -1,4 +1,4 @@ -name: 'deploy' +name: "production deploy" on: workflow_dispatch: @@ -18,5 +18,5 @@ jobs: - name: Push to dokku uses: dokku/github-action@master with: - git_remote_url: 'ssh://dokku@calones.xyz/rowblox-sitetest' + git_remote_url: "ssh://dokku@calones.xyz/rowblox" ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} diff --git a/.github/workflows/sitetest.yml b/.github/workflows/sitetest.yml new file mode 100644 index 0000000..5b0eec2 --- /dev/null +++ b/.github/workflows/sitetest.yml @@ -0,0 +1,22 @@ +name: "sitetest deploy" + +on: + workflow_dispatch: + push: + branches: + - sitetest + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Cloning repo + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Push to dokku + uses: dokku/github-action@master + with: + git_remote_url: "ssh://dokku@calones.xyz/rowblox-sitetest" + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}