Fix link of third Kokkos tea time (#12) #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "[email protected]" | |
git config user.name "Github Commit Hook" | |
git add -A . | |
git commit -a -m "Update to match ${GITHUB_SHA}" | |
git push -f |