Skip to content

Commit

Permalink
Update pbp-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsupilamieue authored Oct 6, 2023
1 parent 542f695 commit 68af007
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pbp-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}

0 comments on commit 68af007

Please sign in to comment.