Fix deployment configuration #23
| @@ -8,7 +8,7 @@ name: Build and deploy the backend to production | |||||||
| jobs: | jobs: | ||||||
|   build-and-push: |   build-and-push: | ||||||
|     name: Build and push image |     name: Build and push image | ||||||
|     uses: ./workflow_build-image.yaml |     uses: anydev/anyway/.gitea/workflows/workflow_build-image.yaml | ||||||
|     with: |     with: | ||||||
|       tag: stable |       tag: stable | ||||||
|     secrets: |     secrets: | ||||||
| @@ -16,7 +16,7 @@ jobs: | |||||||
|    |    | ||||||
|   deploy-prod: |   deploy-prod: | ||||||
|     name: Deploy to production |     name: Deploy to production | ||||||
|     uses: ./workflow_deploy-container.yaml |     uses: anydev/anyway/.gitea/workflows/workflow_deploy-container.yaml | ||||||
|     with: |     with: | ||||||
|       environment: prod |       environment: prod | ||||||
|     secrets: |     secrets: | ||||||
|   | |||||||
| @@ -10,7 +10,7 @@ name: Build and deploy the backend to staging | |||||||
| jobs: | jobs: | ||||||
|   build-and-push: |   build-and-push: | ||||||
|     name: Build and push image |     name: Build and push image | ||||||
|     uses: ./workflow_build-image.yaml |     uses: anydev/anyway/.gitea/workflows/workflow_build-image.yaml | ||||||
|     with: |     with: | ||||||
|       tag: unstable |       tag: unstable | ||||||
|     secrets: |     secrets: | ||||||
| @@ -18,7 +18,7 @@ jobs: | |||||||
|    |    | ||||||
|   deploy-prod: |   deploy-prod: | ||||||
|     name: Deploy to production |     name: Deploy to production | ||||||
|     uses: ./workflow_deploy-container.yaml |     uses: anydev/anyway/.gitea/workflows/workflow_deploy-container.yaml | ||||||
|     with: |     with: | ||||||
|       environment: stg |       environment: stg | ||||||
|     secrets: |     secrets: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user