From 68af007298e6298fefcf7b0cc01cf6992e35a993 Mon Sep 17 00:00:00 2001 From: Faris Zhafir Faza <111985990+Marsupilamieue@users.noreply.github.com> Date: Fri, 6 Oct 2023 22:18:36 +0700 Subject: [PATCH] Update pbp-deploy.yml --- .github/workflows/pbp-deploy.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pbp-deploy.yml b/.github/workflows/pbp-deploy.yml index 55d9dfd..4ba113b 100644 --- a/.github/workflows/pbp-deploy.yml +++ b/.github/workflows/pbp-deploy.yml @@ -3,12 +3,11 @@ name: Deploy on: push: branches: - - main - master jobs: Deployment: - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest steps: - name: Cloning repo @@ -21,4 +20,4 @@ jobs: with: branch: 'main' git_remote_url: ssh://dokku@${{ secrets.DOKKU_SERVER_IP }}/${{ secrets.DOKKU_APP_NAME }} - ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }} \ No newline at end of file + ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}