Files
portfolio-photo/.gitlab-ci.yml
T

19 lines
597 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# GitLab Pages: veröffentlicht den Ordner public/ bei jedem Push auf main.
# Der Framer-Export ist fertig gebaut – es gibt keinen Build-Schritt,
# die Pipeline reicht den Ordner nur als Artefakt an Pages weiter.
pages:
stage: deploy
image: alpine:latest
script:
# Bilder liegen in Git LFS – ohne diesen Schritt landen nur 129-Byte-
# Zeigerdateien statt der echten Bilder auf der veröffentlichten Seite.
- apk add --no-cache git git-lfs
- git lfs install --local
- git lfs pull
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == "main"