image: shockrah/website:latest stages: - build - deploy include: - local: 'ci/builders.yml' build-neocities: stage: build extends: .builder script: - hugo --config configs/neocities.toml build-pages: stage: build extends: .builder script: # Build the base config first - hugo --config configs/pages.toml # Next we fix the path to the font - sed -i 's/\/media/\/shockrah-city\/media/g' public/css/style.css # Deploys the gitlab Page for pages: stage: deploy needs: - build-pages dependencies: - build-pages script: - echo Dummy echo for pages job artifacts: paths: - public/ neocities: stage: deploy needs: - build-neocities when: manual dependencies: - build-neocities script: - bash scripts/neocities.sh