Commit 35bf478b authored by kitkat's avatar kitkat 🐈
Browse files

Autodeploy delete

parent 0fc7ee42
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment