2023 release

This commit is contained in:
2023-03-19 18:49:43 +00:00
parent 9354a7b47e
commit cb8a9af368
50 changed files with 4240 additions and 2 deletions

View File

@@ -1,9 +1,39 @@
deploy:
default:
tags:
- website
stages:
- build
- deploy
build:
stage: build
artifacts:
paths:
- build/
script:
- echo "Build"
- npm install
- npm run build
deploy-beta:
stage: deploy
script:
- echo "Deploy to beta server"
- ncftpput -R -u "$ftp_user" -p "$ftp_pass" pls5618.com beta_site build/*
environment:
name: beta
url: http://beta.pls5618.com
only:
- beta
deploy:
stage: deploy
script:
- echo "Deploy to server"
- ncftpput -R -u "$ftp_user" -p "$ftp_pass" pls5618.com build/*
environment:
name: website
url: https://pls5618.com
url: http://pls5618.com
only:
- main