Iron out more chaos on CI configs

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-07-14 17:26:31 +00:00
parent 2cb74ba975
commit d020834b8c
2 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -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