v1.1.2 #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
release: | |
types: | |
- published | |
name: Release new version | |
jobs: | |
rebase-production: | |
name: Rebase and push changes | |
runs-on: ubuntu-latest | |
if: github.event.release.prerelease == false | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: production | |
fetch-depth: 0 | |
- name: Rebase changes | |
run: git rebase origin/master | |
- name: Push changes | |
run: git push origin production |