Update mariadb:10.11 Docker digest to 3958f2d (#326) #917
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Deploy | |
'on': | |
push: | |
branches: | |
- master | |
paths: | |
- ansible/** | |
workflow_dispatch: | |
schedule: | |
- cron: 0 6 * * * # every day at 6am | |
jobs: | |
# This is a bit of a hack - ideally deployments would happen using something like AWX, but this mostly works (kind of) | |
deploy-prod: | |
environment: production | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ansible-deployment-production | |
cancel-in-progress: false | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Run playbook | |
uses: dawidd6/action-ansible-playbook@c97d71562fcba83cc1ea0602d5a77013427f7571 # v2 | |
with: | |
playbook: main.yml | |
directory: ./ansible | |
key: ${{secrets.RUNNER_SSH_PRIVATE_KEY}} | |
inventory: | | |
[dockerhosts] | |
139.59.190.200 ansible_user=root | |
vault_password: ${{secrets.VAULT_PASSWORD}} | |
requirements: requirements.yml | |
options: | | |
--verbose |