From 78d737eb83db8226f1591f7daeb4f0a4d7357ea8 Mon Sep 17 00:00:00 2001 From: I-Have-An-Issue <34550332+I-Have-An-Issue@users.noreply.github.com> Date: Fri, 7 Oct 2022 18:16:07 -0400 Subject: [PATCH] Oh boy oh boy --- .../workflows/{deploy.yml => production.yml} | 4 ++-- .github/workflows/sitetest.yml | 22 +++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) rename .github/workflows/{deploy.yml => production.yml} (80%) create mode 100644 .github/workflows/sitetest.yml 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 }}