Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
roo-ahine authored Nov 11, 2024
1 parent 265665b commit b2771f3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ name: Create production promotion pull request
on:
push:
branches:
- main
- staging
jobs:
productionPromotion:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: production
ref: main
- name: Reset promotion branch
run: |
git fetch origin main:main
git reset --hard main
git fetch origin staging
git reset --hard staging
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: production-promotion
branch: staging-promotion

0 comments on commit b2771f3

Please sign in to comment.