mirror of
https://github.com/dadosfera/maestro.git
synced 2026-09-01 12:18:15 +00:00
Update: Modifying environments (dev, stg and prd) to (alpha, beta and production)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -2,7 +2,9 @@ name: Test
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- dev
|
||||
- alpha
|
||||
- beta
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
Reference in New Issue
Block a user