Skip to content

Commit 88726f1

Browse files
Update fix_test_pr.yml
1 parent d84c698 commit 88726f1

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

.github/workflows/fix_test_pr.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,16 @@ jobs:
5050
frontend_tag: ${{ steps.frontend_tag.outputs.frontend_tag }}
5151
steps:
5252
- run: echo ${{ needs.manual_approval_deploy.outputs.comment }}
53-
- name: Deploy stage
54-
run: docker ps
5553
- name: "Set backend tag"
5654
id: backend_tag
5755
run: echo "backend_tag=$(docker container inspect $(docker container ls -aq) --format "{{.Config.Image}}" | grep -m 1 "victorycenterua/backend:" | cut -d "-" -f2 | head -c -1)" >> $GITHUB_OUTPUT
5856
- name: "Set frontend tag"
5957
id: frontend_tag
6058
run: echo "frontend_tag=$(docker container inspect $(docker container ls -aq) --format "{{.Config.Image}}" | grep -m 1 "victorycenterua/client:" | cut -d "-" -f2 | head -c -1)" >> $GITHUB_OUTPUT
61-
# - name: Git clone manually
62-
# run: |
63-
# git clone https://github.com/ita-social-projects/VictoryCenter-DevOps.git
6459
- name: Checkout
6560
uses: actions/checkout@v2
6661
with:
6762
repository: ita-social-projects/VictoryCenter-DevOps
68-
- name: ls
69-
run: ls
7063
- name: Stop all containers
7164
run: docker stop nginx certbot frontend backend
7265
- name: Delete additon info
@@ -111,10 +104,6 @@ jobs:
111104
uses: actions/checkout@v2
112105
with:
113106
repository: ita-social-projects/VictoryCenter-DevOps
114-
# - name: Git clone manually
115-
# run: |
116-
# git clone https://github.com/ita-social-projects/VictoryCenter-DevOps.git
117-
# сd VictoryCenter-DevOps
118107
- name: Stop all containers
119108
run: docker stop nginx certbot frontend backend
120109
- name: Delete additon info
@@ -130,15 +119,3 @@ jobs:
130119
DB_CONNECTION_STRING: ${{ secrets.DB_CONNECTION_STRING }}
131120
run: |
132121
docker compose up -d
133-
134-
135-
# post_action:
136-
#
137-
# runs-on: ubuntu-latest
138-
# steps:
139-
# - name: Notify
140-
# if: failure()
141-
# run: echo "FAILURE"
142-
# uses: <user-name>/notifier-action@v1
143-
# with:
144-
# message: 'Workflow failed with an error.'

0 commit comments

Comments
 (0)