Skip to content

Use gh actions for tag releases #17

Use gh actions for tag releases

Use gh actions for tag releases #17

Workflow file for this run

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
- name: Test commit
run: |
git commit --allow-empty --message "Test commit"
git push
- run: git checkout "${{ github.sha }}"
- run: git branch release/test
- run: git checkout release/test
- run: git push --set-upstream --force origin release/test
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}