Update: Modifying environments (dev, stg and prd) to (alpha, beta and production)

This commit is contained in:
alexsanderp
2022-02-09 15:32:44 -03:00
parent de9fa2615e
commit 097d179770
2 changed files with 8 additions and 6 deletions
+5 -5
View File
@@ -2,8 +2,8 @@ name: Deploy
on:
push:
branches:
- dev
- stg
- alpha
- beta
- main
jobs:
@@ -26,11 +26,11 @@ jobs:
[
'main',
{
name: 'dev',
name: 'alpha',
prerelease: true
},
{
name: 'stg',
name: 'beta',
prerelease: true
}
]
@@ -62,7 +62,7 @@ jobs:
shell: bash
run: |
if [ ${GITHUB_REF} == "refs/heads/main" ]; then
echo "##[set-output name=result;]$(echo "prd")"
echo "##[set-output name=result;]$(echo "production")"
else
echo "##[set-output name=result;]$(echo ${GITHUB_REF#refs/heads/})"
fi
+3 -1
View File
@@ -2,7 +2,9 @@ name: Test
on:
pull_request:
branches:
- dev
- alpha
- beta
- main
jobs:
test: