Innopolis University DevOps Playground
Skip to content
Snippets Groups Projects
Commit 2af2f4a7 authored by Egor Belozerov's avatar Egor Belozerov :japanese_goblin:
Browse files

123

parent 9995459f
Branches main
No related tags found
No related merge requests found
Pipeline #17637 passed with stages
in 1 minute and 29 seconds
......@@ -10,6 +10,7 @@ build-job:
- echo "Installing dependencies..."
- npm i
- npm run build
artifacts:
paths:
- dist/
......@@ -25,8 +26,6 @@ deploy-job:
stage: deploy
script:
- echo "Deploying..."
- docker-compose down -v
- docker-compose build --no-cache
- docker-compose up --build -d --force-recreate
- docker cp ./nginx.conf nginx:/etc/nginx/nginx.conf
- docker exec nginx nginx -s reload
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment