ci: add migrate job to prod
This commit is contained in:
parent
5d5d24073c
commit
f955848253
@ -24,9 +24,19 @@ jobs:
|
|||||||
secrets:
|
secrets:
|
||||||
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
|
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
|
||||||
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
MigrateDatabase:
|
||||||
|
runs-on: [squizstaging]
|
||||||
|
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/migrate.yml@9263e22095fa40bcb36881ad81722d3049acd07f
|
||||||
|
needs: ValidateConfig
|
||||||
|
with:
|
||||||
|
runner: hubstaging
|
||||||
|
branch_name: ${{ github.ref_name }}
|
||||||
|
secrets:
|
||||||
|
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
|
||||||
|
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
DeployService:
|
DeployService:
|
||||||
runs-on: [squizprod]
|
runs-on: [squizprod]
|
||||||
needs: ValidateConfig
|
needs: MigrateDatabase
|
||||||
uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/deploy.yml@v1.1.4-p7
|
uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/deploy.yml@v1.1.4-p7
|
||||||
with:
|
with:
|
||||||
runner: hubprod
|
runner: hubprod
|
||||||
|
Loading…
Reference in New Issue
Block a user