1
1
name : Deploy Production
2
2
3
3
env :
4
- APP_LOCATION : ' '
5
- OUTPUT_LOCATION : ' packages/website/build'
4
+ APP_LOCATION : " "
5
+ OUTPUT_LOCATION : " packages/website/build"
6
6
7
7
on :
8
8
push :
9
- branches : [' release/*' ]
9
+ branches : [" release/*" ]
10
10
11
11
permissions :
12
12
contents : read
25
25
uses : actions/setup-node@v4
26
26
with :
27
27
node-version : 22
28
- registry-url : ' https://registry.npmjs.org'
28
+ registry-url : " https://registry.npmjs.org"
29
29
30
30
- name : Enable Corepack
31
31
run : npm i -g corepack@latest
@@ -54,14 +54,14 @@ jobs:
54
54
run : |
55
55
echo "Old version: ${{ steps.version-check.outputs.old }}"
56
56
echo "New version: ${{ steps.version-check.outputs.new }}"
57
-
57
+
58
58
if [ "${{ steps.version-check.outputs.new }}" != "${{ steps.version-check.outputs.old }}" ]; then
59
59
echo "Versions differ. Proceeding with build and publish."
60
60
61
61
pnpm ui build
62
62
63
63
cd packages/ui
64
-
64
+
65
65
# Check if version contains "beta"
66
66
if [[ "${{ steps.version-check.outputs.new }}" == *"beta"* ]]; then
67
67
echo "Publishing @synergycodes/overflow-ui@${{ steps.version-check.outputs.new }} with 'beta' tag…"
@@ -87,11 +87,11 @@ jobs:
87
87
repo_token : ${{ secrets.GITHUB_TOKEN }}
88
88
output_location : ${{ env.OUTPUT_LOCATION }}
89
89
app_location : ${{ env.APP_LOCATION }}
90
- app_build_command : ' pnpm website build'
91
- action : ' upload'
90
+ app_build_command : " pnpm website build"
91
+ action : " upload"
92
92
skip_api_build : true
93
- deployment_environment : ' release '
93
+ deployment_environment : " Production "
94
94
env :
95
95
CUSTOM_BUILD_COMMAND : npm i -g corepack@latest && corepack prepare && pnpm install --frozen-lockfile && pnpm ui build && pnpm website build
96
96
ENABLE_NODE_MONOREPO_BUILD : true
97
- NODE_VERSION : 22
97
+ NODE_VERSION : 22
0 commit comments