Skip to content

Commit

Permalink
Update deploy-development.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tylovejoy authored May 8, 2024
1 parent 5efb992 commit a102ccd
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/deploy-development.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
on:
push:
branches:
- development
# on:
# push:
# branches:
# - development

jobs:
deploy:
runs-on: ubuntu-latest
environment: dev
env:
TOKEN: '${{ secrets.TOKEN }}'
LOGGING_URL: '${{ secrets.LOGGING_URL }}'
PSQL_EXPOSE_PORT: '${{ secrets.PSQL_EXPOSE_PORT }}'
PSQL_PASSWORD: '${{ secrets.PSQL_PASSWORD }}'
PSQL_USER: '${{ secrets.PSQL_USER }}'
PYTHON_ENV: '${{ secrets.PYTHON_ENV }}'
steps:
# need checkout before using docker-compose-remote-action
- uses: actions/checkout@v2
- uses: chaplyk/[email protected]
with:
ssh_host: ${{ secrets.SSH_HOST }}
ssh_user: ${{ secrets.SSH_USER }}
ssh_key: ${{ secrets.SSH_KEY }}
compose_file: docker-compose.yml
build: true
# jobs:
# deploy:
# runs-on: ubuntu-latest
# environment: dev
# env:
# TOKEN: '${{ secrets.TOKEN }}'
# LOGGING_URL: '${{ secrets.LOGGING_URL }}'
# PSQL_EXPOSE_PORT: '${{ secrets.PSQL_EXPOSE_PORT }}'
# PSQL_PASSWORD: '${{ secrets.PSQL_PASSWORD }}'
# PSQL_USER: '${{ secrets.PSQL_USER }}'
# PYTHON_ENV: '${{ secrets.PYTHON_ENV }}'
# steps:
# # need checkout before using docker-compose-remote-action
# - uses: actions/checkout@v2
# - uses: chaplyk/[email protected]
# with:
# ssh_host: ${{ secrets.SSH_HOST }}
# ssh_user: ${{ secrets.SSH_USER }}
# ssh_key: ${{ secrets.SSH_KEY }}
# compose_file: docker-compose.yml
# build: true

0 comments on commit a102ccd

Please sign in to comment.