Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
063f6bc
Update pages-gh.yml
VWJF Jun 12, 2025
fd6be07
Update pages-gh.yml
VWJF Jun 12, 2025
9dd3abd
Update pages-gh.yml
VWJF Jun 12, 2025
c3a87fd
Update pages-gh.yml
VWJF Jun 12, 2025
1fadc84
Update pages-gh.yml
VWJF Jun 12, 2025
4ec333c
Update pages-gh.yml
VWJF Jun 12, 2025
42859dc
Update pages-gh.yml
VWJF Jun 12, 2025
a0f69b9
Update pages-gh.yml
VWJF Jun 12, 2025
fd8e5ce
Update pages-gh.yml
VWJF Jun 12, 2025
5d7e33d
Update pages-gh.yml
VWJF Jun 12, 2025
3d291eb
Update pages-gh.yml
VWJF Jun 12, 2025
0a76063
Update pages-gh.yml
VWJF Jun 12, 2025
c141fd7
Update pages-gh.yml
VWJF Jun 12, 2025
1503fb7
Update pages-gh.yml
VWJF Jun 12, 2025
b1c6c26
Update pages-gh.yml
VWJF Jun 12, 2025
48d1c7f
Update pages-gh.yml
VWJF Jun 12, 2025
fa22d25
Update pages-gh.yml
VWJF Jun 12, 2025
61f6a30
Update pages-gh.yml
VWJF Jun 12, 2025
2da8779
Update pages-gh.yml
VWJF Jun 12, 2025
e26a102
Update pages-gh.yml
VWJF Jun 12, 2025
40c05ec
Update pages-gh.yml
VWJF Jun 12, 2025
674bcaa
Update pages-gh.yml
VWJF Jun 12, 2025
c41db4d
Update pages-gh.yml
VWJF Jun 12, 2025
5f89b15
Update pages-gh.yml
VWJF Jun 12, 2025
d2edca6
Update template.hcl
VWJF Jun 12, 2025
395b03c
Update pages-gh.yml
VWJF Jun 12, 2025
389f131
Update pages-gh.yml remove echo from nomad command
VWJF Jun 12, 2025
b1134a3
Update pages-gh.yml
VWJF Jun 12, 2025
ff18116
Update pages-gh.yml
VWJF Jun 12, 2025
5caaac6
Update pages-gh.yml
VWJF Jun 12, 2025
a63828f
Update pages-gh.yml
VWJF Jun 12, 2025
fae8b46
Update pages-gh.yml
VWJF Jun 12, 2025
34c3850
Update pages-gh.yml
VWJF Jun 12, 2025
9333aaa
Update pages-gh.yml
VWJF Jun 14, 2025
cecd669
Update pages-gh.yml
VWJF Jun 14, 2025
25f2e23
Update pages-gh.yml
VWJF Jun 14, 2025
cdbd953
Update pages-gh.yml
VWJF Jun 14, 2025
07c2c82
Update pages-gh.yml
VWJF Jun 14, 2025
2d61574
Update pages-gh.yml
VWJF Jun 15, 2025
8cb0c3a
Update pages-gh.yml
VWJF Jun 15, 2025
23e485d
Update pages-gh.yml
VWJF Jun 15, 2025
5cf3272
Update pages-gh.yml
VWJF Jun 15, 2025
80a6f77
Update pages-gh.yml
VWJF Jun 15, 2025
cfd49f9
Update pages-gh.yml
VWJF Jun 15, 2025
7eb9f67
Update pages-gh.yml
VWJF Jun 15, 2025
a1f79d2
Update pages-gh.yml
VWJF Jun 15, 2025
9413247
Update pages-gh.yml
VWJF Jun 15, 2025
99efa39
Update pages-gh.yml
VWJF Jun 15, 2025
4970188
Update pages-gh.yml
VWJF Jun 15, 2025
baf733f
Update pages-gh.yml
VWJF Jun 15, 2025
50f861c
Update pages-gh.yml
VWJF Jun 16, 2025
6c3e6fc
Update pages-gh.yml
VWJF Jun 16, 2025
c6aee2c
Update pages-gh.yml
VWJF Jun 16, 2025
b4e2da2
Update pages-gh.yml
VWJF Jun 16, 2025
7850df7
Update pages-gh.yml
VWJF Jun 16, 2025
46e1fc0
Update pages-gh.yml
VWJF Jun 16, 2025
925ba20
Update pages-gh.yml
VWJF Jun 16, 2025
b25cd61
Update pages-gh.yml
VWJF Jun 16, 2025
0df1d66
Update pages-gh.yml
VWJF Jun 16, 2025
f16352e
Update pages-gh.yml
VWJF Jun 16, 2025
cb9460c
Update pages-gh.yml
VWJF Jun 16, 2025
23bb50a
Update pages-gh.yml
VWJF Jun 16, 2025
1c4ede1
Update pages-gh.yml
VWJF Jun 16, 2025
f323564
Update pages-gh.yml
VWJF Jul 2, 2025
0afee86
Update pages-gh.yml
VWJF Jul 2, 2025
0011436
Update github action with nomad parameter for __IMAGE_FORCE_PULL__
VWJF Jul 2, 2025
fcf4cda
Update template.hcl
VWJF Jul 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
238 changes: 164 additions & 74 deletions .github/workflows/pages-gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,43 +5,54 @@ run-name: Build/deploy Pages/Production
on:
# Runs on pushes targeting the default branch
push:
branches: ["main", "gha-"]
branches: ["main", "gha-patch-reusable-workflow"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
SERVICE: "${{ vars.SERVICE }}"
CONTAINER_PROJECT: "coastal-science.github.io" # "rcg-containers" # repo name
WEB_URL: "${{ secrets.DOMAIN_NAME }}"


workflow_call: # allows reusing the workflow
# inputs:
# target:
# required: false
# type: string
# secrets:
# token:
# required: false

# env:
# CONTAINER_PROJECT: "coastal-science.github.io" # "rcg-containers" # repo name dynamically extracted from `github.resposity` by removing `github.owner`

# Allow one concurrent deployment
concurrency:
group: "pages"
group: ${{ github.repository }}-coastal-pages
cancel-in-progress: true

# Default to bash
defaults:
run:
shell: bash

jobs:
generate-timestamp:
permissions: {}
runs-on: ubuntu-latest
steps:
- name: Set TIMESTAMP
- name: Set TIMESTAMP and get REPO_NAME
id: date
run: |
export DATE=$(date +'%Y%m%d-%H%M%S')
REPO_NAME=${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/}
echo "TIMESTAMP=$DATE" >> $GITHUB_ENV
echo "REPO_NAME=$REPO_NAME" >> $GITHUB_ENV
outputs:
TIMESTAMP: ${{ env.TIMESTAMP }}
REPO_NAME: ${{ env.REPO_NAME }}

######################################################
## Build and publish a staging site to GitHub Pages ##
######################################################

configure-pages:
runs-on: ubuntu-latest
permissions: read-all
permissions: # read-all
contents: read
pages: read

steps:
- name: Setup Pages
id: pages
Expand All @@ -60,9 +71,10 @@ jobs:
image: peaceiris/hugo

env:
HUGO_VERSION: 0.147.8 # latest # 0.126.1
HUGO_VERSION: "${{ vars.HUGO_VERSION }}" # 0.147.8 # latest # 0.126.1
HUGO_FORMS: ${{ vars.HUGO_FORMS }}
HUGO_GOOGLEANALYTICS: ${{ vars.HUGO_GOOGLEANALYTICS }}
REPO_NAME: ${{ needs.generate-timestamp.outputs.REPO_NAME }}

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand All @@ -72,7 +84,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: ${{ env.HUGO_VERSION }}
hugo-version: ${{ vars.HUGO_VERSION }}
extended: true

- name: Pre-Build ls
Expand All @@ -86,11 +98,13 @@ jobs:
with:
submodules: true # Fetch Hugo themes (true OR recursive) # failing on ubuntu container
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
# set-safe-directory: '/__w/coastal-science.github.io/coastal-science.github.io'
# set-safe-directory: '/__w/coastal-science.github.io/coastal-science.github.io' # The process '/usr/bin/git' failed with exit code 128
# set-safe-directory: '/__w/${{ env.REPO_NAME }}/${{ env.REPO_NAME }}' # The process '/usr/bin/git' failed with exit code 128, resorting to manual call

- name: Set safe directory workaround
run: |
git config --global --add safe.directory /__w/coastal-science.github.io/coastal-science.github.io
# git config --global --add safe.directory /__w/coastal-science.github.io/coastal-science.github.io
git config --global --add safe.directory /__w/${{ env.REPO_NAME }}/${{ env.REPO_NAME }}

- name: Build with Hugo
env:
Expand Down Expand Up @@ -129,20 +143,22 @@ jobs:
id: deployment
uses: actions/deploy-pages@v4

# Create and publish a prod docker image
build_and_push_prod_image:
############################################
## Create and publish a prod docker image ##
############################################
build-website-and-container-build:
environment: docker-image

if: github.ref == 'refs/heads/main'
needs:
- generate-timestamp
env:
HUGO_VERSION: 0.147.8 # latest # 0.126.1
HUGO_VERSION: ${{ vars.HUGO_VERSION }} # 0.147.8 # latest # 0.126.1
HUGO_FORMS: ${{ vars.HUGO_FORMS }}
HUGO_GOOGLEANALYTICS: ${{ vars.HUGO_GOOGLEANALYTICS }}

REGISTRY: ghcr.io # docker.github.sfu.ca
IMAGE_NAME: ${{ github.repository }}
REPO_NAME: ${{ needs.generate-timestamp.outputs.REPO_NAME }}

runs-on: ubuntu-latest
permissions:
Expand All @@ -162,10 +178,13 @@ jobs:
submodules: true # Fetch Hugo themes (true OR recursive) # failing on ubuntu container
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
# set-safe-directory: '/__w/coastal-science.github.io/coastal-science.github.io'

# set-safe-directory: '/__w/${{ env.REPO_NAME }}/${{ env.REPO_NAME }}' # The process '/usr/bin/git' failed with exit code 128, resorting to manual call

- name: Set safe directory workaround
run: |
git config --global --add safe.directory /__w/coastal-science.github.io/coastal-science.github.io
# git config --global --add safe.directory /__w/coastal-science.github.io/coastal-science.github.io
git config --global --add safe.directory /__w/${{ env.REPO_NAME }}/${{ env.REPO_NAME }}


- name: Generate tags
id: tags
Expand All @@ -184,11 +203,12 @@ jobs:

# Get the current commit datetime (without timezone)
commit_date=$(git show -s --format=%ci HEAD)

# remove last five characters (timezone information)
commit_date=${commit_date:0:${#commit_date}-5} #-5 digits causes 'expression < 0' error. Instead dynamically get the string length.


# Get the current commit datetime (without timezone)
commit_date=$(git show -s --date=format:'%Y%m%d-%H%M' --format=%cd HEAD)

# Combine the parts into the desired format
result="${branch_name}_${commit_hash}_${commit_date}"

Expand All @@ -205,13 +225,11 @@ jobs:
commit_hash=$(echo "$commit_hash" | sed 's/[ :\-]/_/g')

commit_date=$(echo $commit_date | xargs)
commit_date=$(echo "$commit_date" | sed 's/[ :\-]/_/g')
#commit_date=$(echo "$commit_date" | sed 's/[ :\-]/_/g')

# Print the final result and return it
echo "$formatted_result"

echo "TAG=${TAG-random}" >> "$GITHUB_OUTPUT"
echo "EXTRA_TAG=${EXTRA_TAG}" >> "$GITHUB_OUTPUT"

#echo "branch_name=${branch_name}" >> "$GITHUB_OUTPUT"
echo "commit_hash=${commit_hash}" >> "$GITHUB_OUTPUT"
echo "commit_date=${commit_date}" >> "$GITHUB_OUTPUT"
Expand All @@ -227,7 +245,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: ${{ env.HUGO_VERSION }}
hugo-version: ${{ vars.HUGO_VERSION }}
extended: true

- name: Build and Minify with Hugo
Expand Down Expand Up @@ -258,93 +276,165 @@ jobs:
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
uses: docker/metadata-action@v5 #96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} # /${{ env.SERVICE }}
labels: |
org.opencontainers.image.version=${{ needs.generate-timestamp.outputs.TIMESTAMP }}
tags: |
# branch event
type=ref,event=branch
# pull request event
type=ref,event=pr
# minimal (short sha)
type=sha
type=raw,value=${{ steps.tags.outputs.commit_date }}
type=raw,value=latest

- name: Build website with Dockerfile.prod
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v6
env:
HUGO_BASEURL: "${{ vars.HUGO_BASEURL }}"
ORIGINS: "${{ vars.ORIGINS }}"
OAUTH_CLIENT_ID: "${{ vars.OAUTH_GITHUB_CLIENT_ID }}"
OAUTH_GITHUB_CLIENT_SECRET: "${{ secrets.OAUTH_GITHUB_CLIENT_SECRET }}"
CMS_BACKEND_DEBUG: ${{ vars.CMS_BACKEND_DEBUG || ''}}
with:
context: .
file: Dockerfile.prod
build-contexts: |
public=./public
nginx=./nginx
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: true

# - name: Build website with Dockerfile.prod
# env:
# HUGO_BASEURL: "${{ vars.HUGO_BASEURL }}"
# ORIGINS: "${{ vars.ORIGINS }}"
# OAUTH_CLIENT_ID: "${{ vars.OAUTH_GITHUB_CLIENT_ID }}"
# OAUTH_GITHUB_CLIENT_SECRET: "${{ secrets.OAUTH_GITHUB_CLIENT_SECRET }}"
# CMS_BACKEND_DEBUG: ${{ vars.CMS_BACKEND_DEBUG || ''}}

run: |
docker compose -f docker-compose.yaml -f docker-compose.override.yaml build website
docker tag website ${{ steps.meta.outputs.tags }}
# docker tag website ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.tags.outputs.branch_name }}
docker tag website ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.tags.outputs.commit_hash }}
docker tag website ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.tags.outputs.commit_date }}
docker tag website ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
# run: |
# echo "${{ steps.meta.outputs.labels }}"
# prefix="--label "
# LABELS=$(sed "s/^/$prefix/" <<< "${{ steps.meta.outputs.labels }}")
# echo $LABELS
# echo "${{ steps.meta.outputs.tags }}"
# docker compose -f docker-compose.yaml -f docker-compose.override.yaml build website
# docker tag website ${{ steps.meta.outputs.tags }}
# # docker tag website ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.tags.outputs.branch_name }}
# docker tag website ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.tags.outputs.commit_hash }}
# docker tag website ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.tags.outputs.commit_date }}
# docker tag website ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest

docker push --all-tags ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# docker push --all-tags ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# Create and publish a prod docker image
deploy_prod_image:
if: false
#if: github.ref == 'refs/heads/main'
environment: docker-image
# Deploy a prod docker image to orchestrator
deploy-service-prod:
# if: false
if: github.ref == 'refs/heads/main'
environment:
name: docker-image
url: https://${{ vars.HUGO_BASEURL }} # may contain secrets.__DOMAIN_NAME__
# url: https://${{ vars.__SERVICE__ }}-${{ env.ENVIRONMENT == 'production' && 'latest' || 'dev' }}.ruthjoy.researchcomputinggroup.ca
permissions:
contents: read
packages: read
needs:
- build_and_push_prod_image
runs-on: [ self-hosted, rcg ]
env:
REGISTRY: ghcr.io # docker.github.sfu.ca
IMAGE_NAME: ${{ github.repository }}
ENVIRONMENT: "production"
- generate-timestamp
- build-website-and-container-build
outputs:
prod_url: https://${{ secrets.__DOMAIN_.NAME__ }}
nomad_url_1: https://${{ vars.__SERVICE__ }}-${{ env.ENVIRONMENT == 'production' && 'latest' || 'dev' }}.ruthjoy.researchcomputinggroup.ca
nomad_url_2: https://${{ vars.__SERVICE__ }}-${{ env.ENVIRONMENT == 'production' && 'latest' || 'dev' }}.ruthjoy.researchcomputing.ca

runs-on: ubuntu-latest
# runs-on: [ self-hosted, rcg ]
container:
image: alpine:3.18

env:
REPO_NAME: ${{ needs.generate-timestamp.outputs.REPO_NAME }}
SERVICE: "${{ vars.__SERVICE__ }}"
JOB_DRIVER: "${{ vars.__JOB_DRIVER__ }}"
ENVIRONMENT: "production"
WEB_URL: "${{ secrets.__DOMAIN_NAME__ }}"
__REGISTRY__: ghcr.io # docker.github.sfu.ca
# CONTAINER_PROJECT: "coastal-science.github.io" # "rcg-containers" # repo name dynamically extracted from `github.resposity` by removing `github.owner`
CONTAINER_PROJECT: ${{ needs.generate-timestamp.outputs.REPO_NAME }}
# __IMAGE_NAME__="${{ secrets.REGISTRY_SERVER }}/${{ env.CONTAINER_PROJECT }}/${{ env.SERVICE }}"
IMAGE_NAME: ${{ vars.__REGISTRY__ }}/${{ github.repository }}
FORCE_PULL: ${{ vars.__IMAGE_FORCE_PULL__ }}
IMAGE_TAG: latest
# needs.generate-timestamp.outputs.TIMESTAMP or even better commit_date
#__DATACENTERS__="${{ secrets.NOMAD_SERVER_DATACENTERS }}" \
# __NAMESPACE__="${{ secrets.NOMAD_SERVER_NAMESPACE }}" \
NOMAD_SERVER_DATACENTERS: "${{ vars.__DATACENTERS__ }}"
NOMAD_SERVER_NAMESPACE: "${{ vars.__NAMESPACE__ }}"
# __USERNAME__="${{ secrets.GITLAB_CONTAINER_USERNAME }}" \
# __PASSWORD__="${{ secrets.GITLAB_CONTAINER_TOKEN }}" \
# __REGISTRY__="${{ secrets.NOMAD_SERVER_DATACENTERS }}" \

steps:
- name: Prepare Environment
run: |
apk update
apk add gettext nomad
apk add gettext nomad git

- name: Checkout
uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes (true OR recursive) # failing on ubuntu container
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
# set-safe-directory: '/__w/coastal-science.github.io/coastal-science.github.io' # The process '/usr/bin/git' failed with exit code 128
# set-safe-directory: '${{ env.REPO_NAME }}/${{ env.REPO_NAME }}' # The process '/usr/bin/git' failed with exit code 128, resorting to manual call

- name: Set safe directory workaround
run: |
# git config --global --add safe.directory /__w/coastal-science.github.io/coastal-science.github.io
git config --global --add safe.directory /__w/${{ env.REPO_NAME }}/${{ env.REPO_NAME }}

- name: Test Nomad
run: NOMAD_TOKEN=${{ secrets.NOMAD_SERVER_TOKEN }} NOMAD_ADDR=${{ secrets.NOMAD_SERVER_ADDRESS }} nomad status

- name: Setup Nomad Job
run: |
__SERVICE__="${{ env.SERVICE }}" \
__JOB_DRIVER__="docker" \
__ENVIRONMENT__="${{ env.ENVIRONMENT }}" \
__JOB_DRIVER__="${{ env.JOB_DRIVER }}" \
__ENVIRONMENT__="${{ env.ENVIRONMENT == 'production' && 'latest' || 'dev' }}" \
__WEB_URL__="${{ env.WEB_URL }}" \
__JOB_NAME__="${{ env.SERVICE }}-${{ env.ENVIRONMENT }}" \
# __IMAGE_NAME__="${{ secrets.REGISTRY_SERVER }}/${{ env.CONTAINER_PROJECT }}/${{ env.SERVICE }}" \
__IMAGE_NAME__="${{ env.IMAGE_NAME }}" \
__IMAGE_TAG__="${{ needs.generate-timestamp.outputs.TIMESTAMP }}" \
__DATACENTERS__="${{ secrets.NOMAD_SERVER_DATACENTERS }}"" \
__NAMESPACE__="${{ secrets.NOMAD_SERVER_NAMESPACE }}" \
#__USERNAME__="${{ secrets.GITLAB_CONTAINER_USERNAME }}" \
#__PASSWORD__="${{ secrets.GITLAB_CONTAINER_TOKEN }}" \
# __REGISTRY__="${{ secrets.NOMAD_SERVER_DATACENTERS }}" \
__IMAGE_TAG__="${{ env.IMAGE_TAG }}" \
__IMAGE_FORCE_PULL__="${{ env.FORCE_PULL || 'false' }}" \
__DATACENTERS__="${{ env.NOMAD_SERVER_DATACENTERS }}" \
__NAMESPACE__="${{ env.NOMAD_SERVER_NAMESPACE }}" \
envsubst < nomad/template.hcl > ${{ env.SERVICE }}.hcl
cat ${{ env.SERVICE }}.hcl

- name: Deploy TIMESTAMPED Website To Nomad
run: NOMAD_TOKEN=${{ secrets.NOMAD_SERVER_TOKEN }} NOMAD_ADDR=${{ secrets.NOMAD_SERVER_ADDRESS }} nomad job run ${{ env.SERVICE }}.hcl

- name: Summary output URLs
run: |
echo https://"${{ secrets.__DOMAIN_NAME__ }}" >> "$GITHUB_STEP_SUMMARY"
echo https://"${{ vars.__SERVICE__ }}-${{ env.ENVIRONMENT == 'production' && 'latest' || 'dev' }}.ruthjoy.researchcomputinggroup.ca" >> "$GITHUB_STEP_SUMMARY"
echo https://"${{ vars.__SERVICE__ }}-${{ env.ENVIRONMENT == 'production' && 'latest' || 'dev' }}.ruthjoy.researchcomputing.ca" >> "$GITHUB_STEP_SUMMARY"

# Cleanup workspace on the runner
cleanup:
# if: ${{ always() }}
if: ${{ always() }}
permissions: {}
needs:
# - build-website
# - deploy-gh-pages
- build_and_push_prod_image
- deploy_prod_image
# runs-on: ubuntu-latest
runs-on: [ self-hosted, rcg ]
- build-website-and-container-build
- deploy-service-prod
runs-on: ubuntu-latest
# runs-on: [ self-hosted, rcg ]
steps:
- name: Current workspace
run: du -shc ${GITHUB_WORKSPACE}
- name: Clean Up Docker Images
run: docker rmi -f $(docker images '${{ needs.build_and_push_prod_image.outputs.tags }}' -a -q)
run: docker rmi -f $(docker images '${{ needs.build-website-and-container-build.outputs.tags }}' -a -q) || echo "No docker images found to remove...skipping removal."
- name: Clean Up Workspace
run: rm -rf ${GITHUB_WORKSPACE}
Loading