-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to github.event.ref for Drainpipe Dev Clean workflow (#646)
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,14 +28,14 @@ jobs: | |
working-directory: drainpipe-dev | ||
run: | | ||
git init | ||
git branch -m ${{ github.ref_name }} | ||
git branch -m ${{ github.event.ref }} | ||
git remote add origin [email protected]:Lullabot/drainpipe-dev.git | ||
git fetch origin | ||
git reset --mixed origin/${{ github.ref_name }} | ||
git reset --mixed origin/${{ github.event.ref }} | ||
git config user.name "Lullabot-Drainpipe[bot]" | ||
git config user.email "157769597+Lullabot-Drainpipe[bot]@users.noreply.github.com" | ||
- name: Delete ref from drainpipe-dev | ||
working-directory: drainpipe-dev | ||
run: | | ||
git push origin --delete ${{ github.ref_name }} | ||
git push origin --delete ${{ github.event.ref }} |