Skip to content

Commit

Permalink
created superuser for adminpanel in docker image v.6
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelKostyuk committed Dec 13, 2023
1 parent 18ceea0 commit c47b3db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ jobs:
- name: Start the application container with superuser setup
run: |
docker run -d -p 8000:8000 \
--name my-app \
-e DJANGO_SUPERUSER_USERNAME=${{ secrets.DJANGO_SUPERUSER_USERNAME }} \
-e DJANGO_SUPERUSER_PASSWORD=${{ secrets.DJANGO_SUPERUSER_PASSWORD }} \
pavelkostyuk/portfolio
docker run -d -p 8000:8000 --name my-app -e DJANGO_SUPERUSER_USERNAME=${{ secrets.DJANGO_SUPERUSER_USERNAME }} -e DJANGO_SUPERUSER_PASSWORD=${{ secrets.DJANGO_SUPERUSER_PASSWORD }} pavelkostyuk/portfolio
- name: Wait for the app to start
run: sleep 15
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,7 @@ jobs:
- name: Start the application container with superuser setup
run: |
docker run -d -p 8000:8000 \
--name my-app \
-e DJANGO_SUPERUSER_USERNAME=${{ secrets.DJANGO_SUPERUSER_USERNAME }} \
-e DJANGO_SUPERUSER_PASSWORD=${{ secrets.DJANGO_SUPERUSER_PASSWORD }} \
pavelkostyuk/portfolio
docker run -d -p 8000:8000 --name my-app -e DJANGO_SUPERUSER_USERNAME=${{ secrets.DJANGO_SUPERUSER_USERNAME }} -e DJANGO_SUPERUSER_PASSWORD=${{ secrets.DJANGO_SUPERUSER_PASSWORD }} pavelkostyuk/portfolio
- name: Wait for the app to start
run: sleep 15
Expand Down

0 comments on commit c47b3db

Please sign in to comment.