Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
kebidge
MiddlewarePage
Commits
f7fa8c02
Commit
f7fa8c02
authored
Nov 23, 2021
by
Kutzner
🤸
Browse files
add .gitlab-ci.yml
parent
cecb7f2d
Pipeline
#5654
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
f7fa8c02
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/"
artifacts
:
paths
:
-
public
only
:
-
master
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment