File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ jobs:
106106 cd ${{ secrets.DEPLOY_DIR }}
107107 docker pull ${{ secrets.DOCKER_HUB_USERNAME }}/libraryprojectdjango:${{ github.sha }}
108108 docker stop LibraryProjectDjango || true
109- docker rm LibraryProjectDjango || true
109+ docker rm -f LibraryProjectDjango || true
110+ sleep 10 # ждём, пока порт освободится
110111 docker run -d --name LibraryProjectDjango -p 80:8000 ${{ secrets.DOCKER_HUB_USERNAME }}/libraryprojectdjango:${{ github.sha }}
111112 EOF
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ <h2>Регистрация</h2>
88< form method ="post ">
99 {% csrf_token %}
1010 {{ form.as_p }}
11- < button type ="submit " class ="btn btn-primary "> Регистрация</ button >
11+ < button type ="submit " class ="btn btn-danger "> Регистрация</ button >
1212</ form >
1313{% endblock %}
You can’t perform that action at this time.
0 commit comments