From d020834b8c930606917a26de2d22c8b1257643b2 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Fri, 14 Jul 2023 17:26:31 +0000 Subject: [PATCH] Iron out more chaos on CI configs Signed-off-by: Andrei Jiroh Halili --- .github/workflows/docker.yml | 4 ++-- .gitlab-ci.yml | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 984c5c9..3694069 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -99,7 +99,7 @@ jobs: if: ${{ github.event_name != 'pull_request' }} run: | set +xe - for each ${{ steps.meta.outputs.tags }} in tag; + for each "${{ steps.meta.outputs.tags }}" in tag; do docker push $tag done @@ -195,7 +195,7 @@ jobs: if: ${{ github.event_name != 'pull_request' }} run: | set +xe - for each ${{ steps.meta.outputs.tags }} in tag; + for each "${{ steps.meta.outputs.tags }}" in tag; do docker push $tag done diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9626b2f..d98b0c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ # The Docker image that will be used to build your app -image: quay.io/ajhalili2006/mkdocs-material-build-ci +image: quay.io/ajhalili2006/mkdocs-material-build-ci:nightly # Functions that should be executed before the build script is run before_script: @@ -17,10 +17,13 @@ variables: pages: script: - bash ./build.sh + - doppler run -- ./bin/deploykit-pages.sh artifacts: paths: # The folder that contains the files to be exposed at the Page URL - public + variables: + CF_PAGES_PROJECT_NAME: ajhalili2006 rules: # This ensures that only pushes to the default branch will trigger # a pages deploy