Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Karakas
SWP_SS24_Wetterdaten_sammeln
Commits
f3ab1277
Commit
f3ab1277
authored
May 11, 2024
by
Karakas
Browse files
Delete .gitlab-ci.yml
parent
ed602018
Changes
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
deleted
100644 → 0
View file @
ed602018
image
:
node:18
# Use Node.js image for the pipeline
stages
:
-
build
-
deploy
# Define jobs
build
:
stage
:
build
script
:
-
cd frontend
# Change directory to the frontend folder
-
npm install
# Install dependencies
-
npm run build
# Build the React application
artifacts
:
paths
:
-
frontend/build/
# Specify the artifacts to be passed to the next stage
deploy
:
stage
:
deploy
script
:
-
echo "deploy to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH/"
# Add your deployment script here, for example:
# - scp -r frontend/build/* user@your-server:/path/to/deploy
only
:
-
master
# Deploy only when changes are pushed to the master branch
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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