Skip to content

Commit

Permalink
try to loaddata when deploying pbp-fasilkom-ui#2
Browse files Browse the repository at this point in the history
  • Loading branch information
edutjie committed Sep 7, 2022
1 parent 4b1f96e commit 88a56fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Load Data
run: python manage.py loaddata initial_wishlist_data.json
- name: Install dpl
run: gem install dpl
- name: Deploy to Heroku
run: dpl --provider=heroku --app=$HEROKU_APP_NAME --api-key=$HEROKU_API_KEY
- uses: chrnorm/deployment-action@releases/v1
- name: Load Data
run: python manage.py loaddata initial_wishlist_data.json
name: Create GitHub deployment
with:
initial_status: success
Expand Down

0 comments on commit 88a56fc

Please sign in to comment.