Skip to content

Delete content/join-us/2024-*09-11 - Engineer directory #104

Delete content/join-us/2024-*09-11 - Engineer directory

Delete content/join-us/2024-*09-11 - Engineer directory #104

Workflow file for this run

name: site-deploy
on:
push:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
ref: public
path: public
- name: Build site
run: |
HUGO_VERSION="$(head -n 1 HUGO_VERSION|tr '\n' ' '|sed 's/\s//g')"
rm -rf public/*
docker run -i -v "$(pwd):/src" floryn90/hugo:${HUGO_VERSION}-ext-alpine-ci
- name: Deploy site
run: |
cd public
echo 'cexa-project.org' > CNAME
git config user.email "github-commit-hook@example.com"
git config user.name "Github Commit Hook"
git add -A .
git commit -a -m "Update to match ${GITHUB_SHA}"
git push -f