Skip to content
Snippets Groups Projects
Verified Commit ae8e4c21 authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

Add gitlab pipeline

parent 011bdcc4
Branches
Tags
No related merge requests found
Pipeline #17086 failed
stages:
- build
- deploy
build:
image: node:17-alpine3.14
stage: build
script:
- cd app/
- yarn install
- yarn build
- mv ./build ../public
artifacts:
paths:
- public
prod-ftp:
stage: deploy
image: ubuntu:focal
script:
- apt-get update && apt-get install -y lftp ca-certificates
- lftp -e "set dns:order 'inet inet6';
mirror -R public/ site/kszk/ ; quit"
-u $FTP_USER,$FTP_PASS $FTP_HOST
only:
- master
except:
- tags
# staging-k8s:
# TODO
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment