Skip to content

Commit f9023b0

Browse files
committed
WIP: CD create beta release pr
1 parent 102b690 commit f9023b0

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/cd-dev-stage.yaml

+12-8
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
uses: rtCamp/action-slack-notify@v2
112112
env:
113113
SLACK_CHANNEL: code-deploy
114-
SLACK_COLOR: "#FF0000"
114+
SLACK_COLOR: "#36a64f"
115115
SLACK_ICON: https://clipart.world/wp-content/uploads/2021/06/Rocket-Ship-clipart-png.png
116116
SLACK_MESSAGE: "PR merge by ${{ github.actor }} has been deployed to stage."
117117
SLACK_TITLE: Stage Deployment for manager-ui
@@ -122,11 +122,15 @@ jobs:
122122
runs-on: ubuntu-latest
123123
needs: [deploy_dev, deploy_stage]
124124
steps:
125-
- uses: actions/checkout@v4
126125
- name: Create Beta Release PR
127-
uses: peter-evans/create-pull-request@v6
128-
with:
129-
branch: dev
130-
base: beta
131-
title: Beta Release
132-
# labels:
126+
run: gh pr create -B beta -H dev --title 'Beta Release' --body 'Created by Github action'
127+
env:
128+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
129+
# - uses: actions/checkout@v4
130+
# - name: Create Beta Release PR
131+
# uses: peter-evans/create-pull-request@v6
132+
# with:
133+
# branch: dev
134+
# base: beta
135+
# title: Beta Release
136+
# # labels:

0 commit comments

Comments
 (0)