Merge pull request #54 from NIEHS/staging-internal #41
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
# --- | |
# name: Update Branch `staging-public` | |
# on: | |
# push: | |
# branches: [main, master] | |
# jobs: | |
# update_staging_public: | |
# runs-on: ubuntu-latest | |
# if: github.event_name == 'push' && contains(github.event.head_commit.message, 'Merge pull request') | |
# steps: | |
# - name: Checkout code | |
# uses: actions/checkout@v2 | |
# - name: Delete old branch | |
# run: | | |
# git push origin --delete staging-public || true | |
# git checkout -b staging-public | |
# git push origin staging-public |