Skip to content

Commit

Permalink
Update dev-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
isiko authored Feb 12, 2024
1 parent f936b63 commit f684198
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/dev-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
POSTGRES_USER: dennis
POSTGRES_DB: food_calc_testing
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_INITDB_ARGS: "--locale-provider=icu --icu-locale=de-DE --locale=de_DE"
POSTGRES_INITDB_ARGS: "--locale=de_DE"
ports:
- 5432:5432
options: >-
Expand All @@ -35,18 +35,18 @@ jobs:
- name: Load Sample Data
run: psql -p 5432 -h 127.0.0.1 -U dennis --no-password -f foodlib/sample_data/food_calc.sql food_calc_testing

- name: Build
run: cargo build --verbose --release
- name: Run tests
run: cargo test --verbose
#- name: Build
# run: cargo build --verbose --release
#- name: Run tests
# run: cargo test --verbose

- name: Deploy to Server
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_KEY }}
REMOTE_USER: ${{ secrets.DEPLOY_USER }}
REMOTE_HOST: ${{ secrets.DEPLOY_HOST }}
REMOTE_PORT: ${{ secrets.DEPLOY_PORT }}
SOURCE: target/release/
TARGET: /srv/foodcalc
SCRIPT_AFTER: echo $RSYNC_STDOUT
#- name: Deploy to Server
# uses: easingthemes/ssh-deploy@main
# with:
# SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_KEY }}
# REMOTE_USER: ${{ secrets.DEPLOY_USER }}
# REMOTE_HOST: ${{ secrets.DEPLOY_HOST }}
# REMOTE_PORT: ${{ secrets.DEPLOY_PORT }}
# SOURCE: target/release/
# TARGET: /srv/foodcalc
# SCRIPT_AFTER: echo $RSYNC_STDOUT

0 comments on commit f684198

Please sign in to comment.