Skip to content

Commit 5150af7

Browse files
Merge pull request #2 from dominik-matic/fixing-pipline
fixing pipline
2 parents 8ef3518 + 2a10739 commit 5150af7

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Build the docker images and deploy
22
on:
33
push:
44
branches: [ "master" ]
5-
pull_request:
6-
branches: [ "master" ]
75
jobs:
86
build_and_push_images:
97
runs-on: ubuntu-latest
@@ -31,13 +29,12 @@ jobs:
3129
- name: template .env file
3230
run: |
3331
cat <<EOF > ./deployment/files/deploy/.env
34-
DB_USER=${{ secrets.DB_USER }}
35-
DB_PASS=${{ secrets.DB_PASS }}
36-
DB_HOST=${{ secrets.DB_HOST }}
37-
DB_NAME=${{ secrets.DB_NAME }}
38-
AUTH_TOKEN=${{ secrets.AUTH_TOKEN }}
39-
EOF
40-
32+
DB_USER=${{ secrets.DB_USER }}
33+
DB_PASS=${{ secrets.DB_PASS }}
34+
DB_HOST=${{ secrets.DB_HOST }}
35+
DB_NAME=${{ secrets.DB_NAME }}
36+
AUTH_TOKEN=${{ secrets.AUTH_TOKEN }}
37+
EOF
4138
- name: Run ansible playbook
4239
uses: dawidd6/action-ansible-playbook@v2
4340
with:

0 commit comments

Comments
 (0)