Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhongsun96 committed Oct 27, 2024
1 parent dc7b367 commit ce43c7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build and Push Backend Image on Tag

on:
push:
create:
tags:
- '*'

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/pr-backport-autotrigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:

permissions:
contents: write
actions: write # Allows the workflow to trigger other workflows on push
actions: write
workflows: write

jobs:
backport:
Expand Down Expand Up @@ -81,7 +82,7 @@ jobs:
}
# Create new beta tag
git tag ${{ steps.list-branches.outputs.new_beta_tag }}
# Push the changes and tag to the beta branch
# Push the changes and tag to the beta branch using PAT
git push origin ${{ steps.list-branches.outputs.beta }} --force
git push origin ${{ steps.list-branches.outputs.new_beta_tag }}
# Checkout the stable branch
Expand All @@ -93,6 +94,6 @@ jobs:
}
# Create new stable tag
git tag ${{ steps.list-branches.outputs.new_stable_tag }}
# Push the changes and tag to the stable branch
# Push the changes and tag to the stable branch using PAT
git push origin ${{ steps.list-branches.outputs.stable }} --force
git push origin ${{ steps.list-branches.outputs.new_stable_tag }}
git push origin ${{ steps.list-branches.outputs.new_stable_tag }}

0 comments on commit ce43c7e

Please sign in to comment.