cove_rdls/templates/cove_rdls/additional_fields_table.html: Improve t… #137
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: Branch Deploy | |
on: [push] | |
jobs: | |
branch-deploy: | |
runs-on: ubuntu-latest | |
environment: cove-rdls-dev | |
steps: | |
- name: Install SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.DOKKUSD_BRANCH_SSH_PRIVATE_KEY }} | |
known_hosts: ${{ vars.DOKKUSD_BRANCH_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.DOKKUSD_BRANCH_APP_NAME_PREFIX }}-${GITHUB_REF##*/} --environmentvariablesprefixedby ALLSECRETSANDVARS_DOKKU_ENVIRONMENT_VARIABLE_ | |
env: | |
DOKKUSD_REMOTE_HOST: ${{ vars.DOKKUSD_BRANCH_REMOTE_HOST }} | |
DOKKUSD_REMOTE_PORT: ${{ vars.DOKKUSD_BRANCH_REMOTE_PORT }} | |
DOKKUSD_REMOTE_USER: ${{ vars.DOKKUSD_BRANCH_REMOTE_USER }} | |
DOKKUSD_HTTP_AUTH_USER: ${{ secrets.DOKKUSD_BRANCH_HTTP_AUTH_USER }} | |
DOKKUSD_HTTP_AUTH_PASSWORD: ${{ secrets.DOKKUSD_BRANCH_HTTP_AUTH_PASSWORD }} | |
DOKKUSD_PS_SCALE: ${{ secrets.DOKKUSD_BRANCH_PS_SCALE }} |