try
Some checks failed
Deploy Dev / Build (pull_request) Successful in 51s
Deploy Dev / Push (pull_request) Successful in 40s
Deploy Dev / Deploy dev (pull_request) Failing after 5s

This commit is contained in:
2024-11-23 20:28:17 +03:00
parent 11c41e1d33
commit ae6066a5e7
2 changed files with 30 additions and 7 deletions

View File

@@ -30,6 +30,19 @@ jobs:
run: docker push mathwave/sprint-repo:sprint-infra-nginx-prod
- name: push gitea runner
run: docker push mathwave/sprint-repo:gitea-runner
prepare:
name: prepare
runs-on: [prod]
needs: push
steps:
- name: login
run: docker login -u mathwave -p ${{ secrets.DOCKERHUB_PASSWORD }}
- name: checkout
uses: actions/checkout@v4
with:
ref: dev
- name: prepare
run: chmod 777 ./prepare/run-production.sh && ./prepare/run-production.sh
deploy-prod:
name: Deploy prod
runs-on: [prod]
@@ -41,8 +54,6 @@ jobs:
uses: actions/checkout@v4
with:
ref: prod
- name: prepare
run: chmod 777 ./prepare/run-production.sh && ./prepare/run-production.sh
- name: deploy swarmpit
run: docker stack deploy --with-registry-auth -c ./.deploy-swarmpit/deploy-prod.yaml swarmpit
- name: deploy portainer