image: registry.gitlab.com/pages/hugo:latest stages: - build - deploy variables: GIT_SUBMODULE_STRATEGY: recursive # This build stage will also leave artifacts ready for gitlab pages to use pages: stage: build only: refs: - master script: - hugo artifacts: paths: - public build-resume.shockrah.xyz: stage: build only: refs: - master script: - hugo artifacts: paths: - public deploy-resume.shockrah.xyz: stage: deploy image: name: amazon/aws-cli:2.2.25 entrypoint: [""] only: refs: - master needs: - build-resume.shockrah.xyz before_script: - bash scripts/verify-aws-fields.sh script: - aws s3 cp public/ s3://resume.shockrah.xyz --recursive