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' }} if: ${{ github.event_name != 'pull_request' }}
run: | run: |
set +xe set +xe
for each ${{ steps.meta.outputs.tags }} in tag; for each "${{ steps.meta.outputs.tags }}" in tag;
do do
docker push $tag docker push $tag
done done
@ -195,7 +195,7 @@ jobs:
if: ${{ github.event_name != 'pull_request' }} if: ${{ github.event_name != 'pull_request' }}
run: | run: |
set +xe set +xe
for each ${{ steps.meta.outputs.tags }} in tag; for each "${{ steps.meta.outputs.tags }}" in tag;
do do
docker push $tag docker push $tag
done done

View file

@ -1,5 +1,5 @@
# The Docker image that will be used to build your app # 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 # Functions that should be executed before the build script is run
before_script: before_script:
@ -17,10 +17,13 @@ variables:
pages: pages:
script: script:
- bash ./build.sh - bash ./build.sh
- doppler run -- ./bin/deploykit-pages.sh
artifacts: artifacts:
paths: paths:
# The folder that contains the files to be exposed at the Page URL # The folder that contains the files to be exposed at the Page URL
- public - public
variables:
CF_PAGES_PROJECT_NAME: ajhalili2006
rules: rules:
# This ensures that only pushes to the default branch will trigger # This ensures that only pushes to the default branch will trigger
# a pages deploy # a pages deploy