diff --git a/.github/workflows/dpl.yml b/.github/workflows/dpl.yml index 81a39e7..878edbd 100644 --- a/.github/workflows/dpl.yml +++ b/.github/workflows/dpl.yml @@ -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