Skip to content

requirements: Downgrade lxml so that tests pass #29

requirements: Downgrade lxml so that tests pass

requirements: Downgrade lxml so that tests pass #29

Workflow file for this run

name: Branch Deploy
on: [push]
jobs:
branch-deploy:
runs-on: ubuntu-latest
environment: iati-cove-branch-deploy
steps:
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}
name: id_rsa # optional
known_hosts: ${{ vars.DOKKU_SSH_KEYSCAN }}
- uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.7
architecture: x64
- run: pip install dokkusd
- uses: oNaiPs/secrets-to-env-action@v1
with:
secrets: ${{ toJSON(secrets) }}
prefix: ALLSECRETSANDVARS_
- uses: oNaiPs/secrets-to-env-action@v1
with:
secrets: ${{ toJSON(vars) }}
prefix: ALLSECRETSANDVARS_
- run: python -m dokkusd.cli deploy --appname ${{ vars.DOKKU_APP_NAME_PREFIX }}-${GITHUB_REF##*/} --environmentvariablesprefixedby ALLSECRETSANDVARS_DOKKU_ENVIRONMENT_VARIABLE_
env:
DOKKUSD_REMOTE_HOST: ${{ vars.DOKKU_REMOTE_HOST }}
DOKKUSD_REMOTE_PORT: ${{ vars.DOKKU_REMOTE_PORT }}
DOKKUSD_REMOTE_USER: ${{ vars.DOKKU_REMOTE_USER }}
DOKKUSD_HTTP_AUTH_USER: ${{ secrets.DOKKU_HTTP_AUTH_USER }}
DOKKUSD_HTTP_AUTH_PASSWORD: ${{ secrets.DOKKU_HTTP_AUTH_PASSWORD }}
DOKKUSD_NGINX_PROXY_READ_TIMEOUT: ${{ secrets.DOKKU_ENVIRONMENT_VARIABLE_APP_TIMEOUT_SECONDS }}s
DOKKUSD_NGINX_CLIENT_MAX_BODY_SIZE: ${{ secrets.DOKKU_ENVIRONMENT_VARIABLE_APP_UPLOAD_MAXIMUM_MEGABYTES }}m