name: Deploy Production on: push: tags: - "v*" jobs: production: runs-on: production steps: - name: Checkout uses: actions/checkout@v3 with: submodules: true - name: Configure Git Token run: | git config --global url."https://sebastian.serfling:${{ secrets.GIT_TOKEN }}@gitlab.stines.de/".insteadOf "https://gitlab.stines.de/" - name: Hugo Build & Deploy run: | set -e # Hugo Build direkt in /var/www/html hugo --minify --source ./hugo -d /var/www/html echo "✅ Production Hugo Build erfolgreich!" echo "🚀 Live unter https://stines.de"