mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-12 18:39:08 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- alpha
|
||||||
- stg
|
- beta
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -26,11 +26,11 @@ jobs:
|
|||||||
[
|
[
|
||||||
'main',
|
'main',
|
||||||
{
|
{
|
||||||
name: 'dev',
|
name: 'alpha',
|
||||||
prerelease: true
|
prerelease: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'stg',
|
name: 'beta',
|
||||||
prerelease: true
|
prerelease: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [ ${GITHUB_REF} == "refs/heads/main" ]; then
|
if [ ${GITHUB_REF} == "refs/heads/main" ]; then
|
||||||
echo "##[set-output name=result;]$(echo "prd")"
|
echo "##[set-output name=result;]$(echo "production")"
|
||||||
else
|
else
|
||||||
echo "##[set-output name=result;]$(echo ${GITHUB_REF#refs/heads/})"
|
echo "##[set-output name=result;]$(echo ${GITHUB_REF#refs/heads/})"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -2,7 +2,9 @@ name: Test
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- alpha
|
||||||
|
- beta
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|||||||
Reference in New Issue
Block a user