11 lines
186 B
Bash
Executable File
11 lines
186 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
git fetch origin main:production
|
|
git push origin production
|
|
|
|
pushd playbooks
|
|
source .venv/bin/activate
|
|
./ansible.sh -i environments/production deploy.yaml
|
|
deactivate
|
|
popd
|