Fix: correctly support rowNumbers like 14.1 with automation (#1105) #22
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 to staging (aria-at-staging.w3.org) | |
on: | |
push: | |
branches: | |
- development | |
jobs: | |
deploy-staging: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install SSH key for deploying | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }} | |
known_hosts: ${{ secrets.DEPLOY_KNOWN_HOSTS_STAGING }} | |
config: ${{ secrets.DEPLOY_SSH_CONFIG }} | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install ansible and deploy to staging | |
run: | | |
python -m pip install --user ansible-core==2.11.1 | |
cd deploy | |
echo ${{ secrets.ANSIBLE_VAULT_PASSWORD }} > ansible-vault-password.txt | |
ansible-vault view --vault-password-file ansible-vault-password.txt files/jwt-signing-key.pem.enc > ../jwt-signing-key.pem | |
ansible-galaxy collection install ansible.posix | |
ansible-playbook provision.yml -e ansible_python_interpreter=/usr/bin/python3 --inventory inventory/staging.yml |