migrated to nextjs

This commit is contained in:
cupcakearmy
2020-01-05 17:34:03 +01:00
parent fafaff3990
commit 3a2ee3cd7c
51 changed files with 6321 additions and 287 deletions

View File

@@ -22,13 +22,15 @@ steps:
port: 1312
target: /srv/web/home
sources:
- ./dist
- ./docker-compose.prod.yml
- ./nginx.conf
commands:
- docker-compose -f docker-compose.prod.yml pull
- docker-compose -f docker-compose.prod.yml down
- docker-compose -f docker-compose.prod.yml up -d
- ./Dockerfile
- ./package.json
- ./yarn.lock
- ./next.config.js
- ./.next
- ./public
commands:
- docker-compose -f docker-compose.prod.yml build
- docker-copmose -f docker-compose.prod.yml restart front
when:
event: push
branch: master