Commit 243e7a52 authored by Devkota's avatar Devkota
Browse files

Update .gitlab-ci.yml file

parent 7afb735a
Pipeline #9259 passed with stage
in 6 seconds
image: alpine:latest
stages:
- test
- deploy
test-job:
stage: test
script:
- echo "Testing files exist..."
- test -f public/index.html
- test -f public/main.js
- test -f public/settings.js
- test -f public/assets/css/style.css
- test -f public/assets/css/mobile.css
- test -f public/assets/images/header.jpg
- test -f public/assets/images/hft_logo.svg
- test -f public/home/index.html
- echo "Test finished, all ok"
only:
- master
pages:
stage: deploy
script:
- echo "Deploying to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH/"
- echo "deploy to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH/"
artifacts:
paths:
- public
......
Markdown is supported
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