mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-12 13:56:12 +02:00
Trigger from Workflow (#2951)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: Build and Push Backend Image on Tag
|
||||
|
||||
on:
|
||||
push:
|
||||
create:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
|
@@ -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:
|
||||
@@ -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
|
||||
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user