Update deploy path, environment URL, nginx conf, and package name to reflect the new subdomain. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
395 B
YAML
26 lines
395 B
YAML
stages:
|
|
- build
|
|
- deploy
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- npm ci
|
|
- npm run build
|
|
artifacts:
|
|
paths:
|
|
- dist/
|
|
expire_in: 1 hour
|
|
only:
|
|
- main
|
|
|
|
deploy:
|
|
stage: deploy
|
|
script:
|
|
- rsync -avz --delete dist/ /var/www/domains/gateway-gamers.net/40k-rankings/
|
|
only:
|
|
- main
|
|
environment:
|
|
name: production
|
|
url: https://40k-rankings.gateway-gamers.net
|