-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changes on Tue May 25 13:20:21 CEST 2021
- Loading branch information
Showing
4 changed files
with
43 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Ansible workflow for single service deployment. | ||
# Uses: https://github.com/dawidd6/action-ansible-playbook | ||
# Options: https://github.com/dawidd6/action-ansible-playbook/blob/master/main.js | ||
# Author: Just van den Broecke - 2021 | ||
# | ||
name: pygeoapi test Deploy ⚙️ | ||
|
||
# Trigger only when service/traefik subdir changed | ||
on: | ||
push: | ||
paths: | ||
- 'services/pygeoapi_test' | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Checkout ✅ | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run playbook ⚙ | ||
uses: dawidd6/action-ansible-playbook@v2 | ||
with: | ||
playbook: deploy.yml | ||
directory: ./ansible | ||
key: ${{secrets.ANSIBLE_SSH_PRIVATE_KEY}} | ||
inventory: ${{secrets.ANSIBLE_INVENTORY_PROD}} | ||
vault_password: ${{secrets.ANSIBLE_VAULT_PASSWORD}} | ||
options: | | ||
--tags pygeoapi_test | ||
--verbose |
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
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
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