Skip to content

Commit

Permalink
Merge branch 'master' into chore/docker-compose-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
oscgonfer committed Sep 22, 2023
2 parents f31fffc + ec42c6f commit 578f4b6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ jobs:
TEST_DB_NAME: postgres
PG_PORT: ${{ job.services.postgres.ports['5432'] }}

- name: Deploy to server via SSH
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
username: ${{ secrets.USERNAME }}
script: |
cd smartcitizen-api
pwd
./scripts/deploy.sh
if: github.ref == 'refs/heads/master' && job.status == 'success'
#- name: Deploy to server via SSH
#uses: appleboy/ssh-action@master
#with:
#host: ${{ secrets.HOST }}
#key: ${{ secrets.KEY }}
#port: ${{ secrets.PORT }}
#username: ${{ secrets.USERNAME }}
#script: |
#cd smartcitizen-api
#pwd
#./scripts/deploy.sh
#if: github.ref == 'refs/heads/master' && job.status == 'success'
2 changes: 1 addition & 1 deletion env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# They are exposed into the containers as ENV vars

RAILS_ENV=development

RAILS_LOG_TO_STDOUT=true # Required as of v1.3
DATABASE_URL=postgresql://postgres:postgres@db/sc_dev

TEST_DB_HOST=db
Expand Down

0 comments on commit 578f4b6

Please sign in to comment.