Skip to content

Commit

Permalink
[no-ci] chore: fix cd process
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Aug 28, 2024
1 parent 7732445 commit 0759dd0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.CUSTOM_GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run release

- name: Merge release -> main
uses: devmasx/merge-branch@6ec8363d74aad4f1615d1234ae1908b4185c4313
if: github.ref == 'refs/heads/release'
with:
type: now
from_branch: release
target_branch: main
message: Merge release back to main to get version increment [no ci]
github_token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 0 additions & 8 deletions .github/workflows/prod_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,3 @@ jobs:
from_branch: main
target_branch: release
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Merge release -> main
uses: devmasx/merge-branch@6ec8363d74aad4f1615d1234ae1908b4185c4313
with:
type: now
from_branch: release
target_branch: main
message: Merge release back to main to get version increment [no ci]
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0759dd0

Please sign in to comment.