Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
noisekit committed Oct 12, 2023
1 parent c1128d2 commit 24e7085
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/release-lp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,19 @@ on:
push:
tags:
- 'release-lp*'
branches:
- 'tagged-releases'
# branches:
# - 'tagged-releases'

jobs:
release-lp:
runs-on: ubuntu-latest
steps:
# # Setup SSH Deploy key fpr current repo
# - run: mkdir -p ~/.ssh
# - run: echo "${{secrets.SSH_PRIVATE_KEY}}" > "$HOME/.ssh/id_rsa"
# - run: chmod 600 "$HOME/.ssh/id_rsa"
# - run: ssh-keyscan github.com >> "$HOME/.ssh/known_hosts"

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
ssh-key: '${{secrets.SSH_PRIVATE_KEY}}'
# Update git URL to use ssh instead of http
#- run: git remote set-url origin "[email protected]:${{github.repository}}.git"
- run: git config user.email [email protected]
- run: git config user.name synthetix-team
- run: git checkout "${{ github.sha }}"
- run: git branch release/lp1
- run: git checkout release/lp1
- run: git push --set-upstream --force origin release/lp1
- run: git branch release/lp
- run: git checkout release/lp
- run: git push --set-upstream --force origin release/lp

0 comments on commit 24e7085

Please sign in to comment.