Skip to content
Snippets Groups Projects
Verified Commit d8d483bd authored by Sebastian Kawelke's avatar Sebastian Kawelke :upside_down:
Browse files

Reduces gitlab-ci

parent b439cb02
Branches
Tags
No related merge requests found
......@@ -5,20 +5,12 @@ pages:
stage: pages
image: node:22.12.0@sha256:35a5dd72bcac4bce43266408b58a02be6ff0b6098ffa6f5435aeea980a8951d7
before_script:
# Clean public folder
- find public -mindepth 1 -maxdepth 1 -type d | xargs rm -rf
- find public -type f -name "*.html" | xargs rm -rf
# Install packages
- npm install
script:
# Build application and move content to public folder
- npm run build
- mv out/* public
after_script:
# Cleanup
- rm -rf out
artifacts:
paths:
- public
- out
publish: out
only:
- main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.