Skip to content

Commit

Permalink
ci: fix cleanup workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Jan 25, 2023
1 parent 234f063 commit 124eecd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sync-to-gitlab-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
steps:
- name: Cleanup
run: |
git push https://oauth2:${GITLAB_TOKEN}@gitlab.com/go-semantic-release/semantic-release.git :${{ github.event.ref }}
git init
git remote add gitlab https://oauth2:${GITLAB_TOKEN}@gitlab.com/go-semantic-release/semantic-release.git
git push gitlab :${{ github.event.ref }}
env:
GITLAB_TOKEN: ${{ secrets.GITLAB_PUSH_TOKEN }}

0 comments on commit 124eecd

Please sign in to comment.