Use gh actions for tag releases #10
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: release-lp | |
on: | |
push: | |
tags: | |
- 'release-lp*' | |
branches: | |
- 'tagged-releases' | |
jobs: | |
release-lp: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
# - run: git config --global user.email [email protected] | |
# - run: git config --global user.name synthetix-team | |
- run: git config --global user.email "[email protected]" | |
- run: git config --global user.name "Synthetix CI" | |
- run: git checkout "${{ github.sha }}" | |
- run: git branch release/test | |
- run: git checkout release/test | |
- run: git push --set-upstream --force origin release/test | |
# - name: Test commit | |
# run: | | |
# git commit --allow-empty --message "Test commit" | |
# git push | |
# |