Expose collection metadata (#172) #45
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: [ main ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
repository: ambanum/OpenTermsArchive | |
- name: Install SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.SERVER_SSH_KEY }} | |
known_hosts: ${{ secrets.SERVER_FINGERPRINT }} | |
- run: echo "${{ secrets.ANSIBLE_VAULT_KEY }}" > vault.key | |
- run: pip install --upgrade setuptools | |
- run: pip install 'ansible ~= 2.9' | |
- run: ansible-playbook ops/app.yml --inventory ops/inventories/production.yml --tags update-declarations --limit france_elections |