Skip to content
Snippets Groups Projects
Commit 35bf478b authored by Csia Klaudia Kitti's avatar Csia Klaudia Kitti :cat2:
Browse files

Autodeploy delete

parent 0fc7ee42
No related branches found
No related tags found
No related merge requests found
stages:
- build
- test
build:
stage: build
script:
- echo "Building"
- npm install
- npm run build
- if["$CI_COMMIT_REF_NAME" == "master"]; then cp -R dist/* /var/www/example.com/html; fi
build:
stage: test
script:
- echo "Testing"
- test -f "/var/www/html/index.html
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment