Skip to content

Commit dfdda30

Browse files
Update fix_test_pr.yml
1 parent 2480156 commit dfdda30

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/fix_test_pr.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828
run: echo "Tag for image ${GITHUB_REF##*/}.${RUN_NUM}"
2929
manual_approval_deploy:
3030
needs: dokcer
31-
environment: test
31+
environment: stage
3232
runs-on: ubuntu-latest
3333
outputs:
3434
comment: ${{ steps.set_env.outputs.comment }}
3535
steps:
36-
- name: "Get approval message for Stage яdeploy"
36+
- name: "Get approval message for Stage deploy"
3737
id: set_env
3838
run: |
3939
echo "comment=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
@@ -49,9 +49,13 @@ jobs:
4949
- run: echo ${{ needs.manual_approval_deploy.outputs.comment }}
5050
- name: Deploy stage
5151
run: docker ps
52+
- name: pypypy
53+
run: docker container inspect $(docker container ls -aq) --format "{{.Config.Image}}" | grep -m 1 "victorycenterua/backend:" | cut -d "-" -f2 | head -c -1
54+
- name: pypypy2
55+
run: docker container inspect $(docker container ls -aq) --format "{{.Config.Image}}" | grep -m 1 "victorycenterua/client:" | cut -d "-" -f2 | head -c -1
5256
manual_approval_rollback:
5357
needs: stage_deploy
54-
environment: test
58+
environment: stage
5559
runs-on: ubuntu-latest
5660
outputs:
5761
comment: ${{ steps.set_comment_rollback.outputs.comment }}

0 commit comments

Comments
 (0)