Skip to content

Commit

Permalink
settings: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Sep 7, 2023
1 parent fb48e91 commit e47a987
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/review-app-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ jobs:
$CLEVER_CLI login --token $CLEVER_TOKEN --secret $CLEVER_SECRET
$CLEVER_CLI link $REVIEW_APP_NAME --org $REVIEW_APPS_ORGANIZATION_NAME
- name: ⏭ Skip fixtures
run:
$CLEVER_CLI env set SKIP_FIXTURES true
#- name: ⏭ Skip fixtures
# run:
# $CLEVER_CLI env set SKIP_FIXTURES true

- name: 🚀 Deploy to Clever Cloud
run: $CLEVER_CLI deploy --branch $BRANCH --force
9 changes: 2 additions & 7 deletions clevercloud/review_app_after_succes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ if [ "$SKIP_FIXTURES" = true ] ; then
fi

echo "Loading data"
USE_VENV=1 \
PGPASSWORD=$POSTGRESQL_ADDON_PASSWORD \
PGDATABASE=$POSTGRESQL_ADDON_DB \
PGHOST=$POSTGRESQL_ADDON_HOST \
PGPORT=$POSTGRESQL_ADDON_PORT \
PGUSER=$POSTGRESQL_ADDON_USER \

cd $APP_HOME

python -m venv venv
python manage.py loaddata fixtures/validation_fixtures.json

0 comments on commit e47a987

Please sign in to comment.