Staging website

This commit is contained in:
Adi Thakral 2021-06-08 00:18:15 +00:00
parent 13c20dd88f
commit b494c9ee16
1 changed files with 7 additions and 5 deletions

View File

@ -10,6 +10,9 @@ stages:
- build
- staging
variables:
BASE_PATH: '/~a3thakra/csc'
install_deps:
stage: .pre
script:
@ -25,14 +28,13 @@ build:
script:
- npm run build
pages:
staging:
stage: staging
script:
- npm run export
- mv public src-public
- mv out public
artifacts:
paths:
- public
- out
only:
- main
refs:
- main