Merge pull request #30 from keenywheels/feat-alerts #8
This file contains hidden or 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 vixar processor | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'apps/vixar-processor/**' | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| env: | |
| ANSIBLE_HOST_KEY_CHECKING: False | |
| ANSIBLE_VAULT_PASSWORD: ${{ secrets.ANSIBLE_VAULT_PASSWORD }} | |
| DOCKER_HUB_USER: daronenko | |
| DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }} | |
| steps: | |
| - name: checkout repository | |
| uses: actions/checkout@v3 | |
| - name: set up python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| - name: install ansible | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install ansible | |
| - name: add ssh key | |
| uses: webfactory/[email protected] | |
| with: | |
| ssh-private-key: ${{ secrets.PROD_SSH_KEY }} | |
| - name: deploy vixar processor | |
| run: make deploy-vixar-processor |