Skip to content

Commit

Permalink
Test on push not pull_request.
Browse files Browse the repository at this point in the history
  • Loading branch information
davereid committed Mar 22, 2024
1 parent b441ec7 commit b4f46f6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/DrainpipeDev.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Push Drainpipe Dev Package

on:
pull_request:
push:
branches:
- 460-drainpipe-dev-use-deploy-token
- main
tags:
- 'v*'
Expand Down Expand Up @@ -39,14 +39,6 @@ jobs:
git config user.email "[email protected]"
git config user.name "Drainpipe Bot"
- name: Test push branch to drainpipe-dev
if: ${{ github.event_name == 'pull_request' }}
working-directory: drainpipe-dev
run: |
git add -A
git commit -m "${{ github.event.head_commit.message }}" --allow-empty
git push origin ${{ github.head_ref }}
- name: Push branch to drainpipe-dev
if: ${{ startsWith(github.ref, 'refs/heads/') }}
working-directory: drainpipe-dev
Expand Down

0 comments on commit b4f46f6

Please sign in to comment.