10 lines
196 B
Bash
Executable File
10 lines
196 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 shared/deploy.yaml
|
|
deactivate
|
|
popd
|