We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17e9e4e commit 65420caCopy full SHA for 65420ca
2 files changed
.github/workflows/backend.yml
@@ -23,6 +23,7 @@ jobs:
23
key: ${{ secrets.SERVER_SSH_KEY }}
24
script: |
25
cd /opt/CookieLess/backend
26
+ git fetch --all && git reset --hard origin/main
27
ansible-playbook ansible/playbook.yml \
28
--extra-vars "MONGO_INITDB_ROOT_USERNAME=${{ secrets.MONGO_INITDB_ROOT_USERNAME }} \
29
MONGO_INITDB_ROOT_PASSWORD=${{ secrets.MONGO_INITDB_ROOT_PASSWORD }} \
backend/ansible/playbook.yml
@@ -10,7 +10,7 @@
10
tasks:
11
12
- name: Update code from git
13
- command: git fetch --all && git reset --hard origin/main
+ command: git pull
14
args:
15
chdir: /opt/CookieLess
16
0 commit comments