Skip to content

Commit 4df6ed0

Browse files
committed
Fix the wrong 'Join-Uses' page title
Fix #15
1 parent ceafbb5 commit 4df6ed0

File tree

4 files changed

+34
-16
lines changed

4 files changed

+34
-16
lines changed

.github/workflows/site-deploy.yml

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,40 @@ name: site-deploy
22
on:
33
push:
44
branches: [ main ]
5-
# Allows you to run this workflow manually from the Actions tab
65
workflow_dispatch:
76
jobs:
87
build:
98
runs-on: ubuntu-latest
109
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/checkout@v3
13-
with:
14-
ref: public
15-
path: public
10+
- uses: actions/checkout@v4
1611
- name: Build site
1712
run: |
1813
HUGO_VERSION="$(head -n 1 HUGO_VERSION|tr '\n' ' '|sed 's/\s//g')"
1914
rm -rf public/*
2015
docker run -i -v "$(pwd):/src" floryn90/hugo:${HUGO_VERSION}-ext-alpine-ci
21-
- name: Deploy site
22-
run: |
23-
cd public
24-
echo 'cexa-project.org' > CNAME
25-
git config user.email "github-commit-hook@example.com"
26-
git config user.name "Github Commit Hook"
27-
git add -A .
28-
git commit -a -m "Update to match ${GITHUB_SHA}"
29-
git push -f
16+
- name: Upload pages artifact
17+
uses: actions/upload-pages-artifact@v3
18+
with:
19+
path: ./public
20+
name: github-pages
21+
retention-days: 1
22+
deploy:
23+
needs: build
24+
permissions:
25+
pages: write
26+
id-token: write
27+
environment:
28+
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Deploy to GitHub Pages
33+
id: deployment
34+
uses: actions/deploy-pages@v4
35+
with:
36+
token: ***
37+
timeout: 600000
38+
error_count: 10
39+
reporting_interval: 5000
40+
artifact_name: github-pages
41+
preview: false

content/join-us/_index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: |
3+
Join us
4+
view: compact
5+
---

content/news/2024-06-19-Third-Kokkos-tea-time/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ It can be followed on [Zoom](https://cnrs.zoom.us/j/97834891802?pwd=NXhzd2paY051
1919

2020
Cédric Chevalier will animate a discussion around the theme: "Kokkos MPI Interop for all"
2121

22-
{{< cta cta_text="Get the slides" cta_link="2024-06-19-Third-Kokkos-tea-time-slides.pdf" cta_new_tab="true" >}}
22+
{{% cta cta_text="Get the slides" cta_link="2024-06-19-Third-Kokkos-tea-time-slides.pdf" cta_new_tab="true" %}}
2323

2424

2525
## Kokkos MPI Interop for all

static/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cexa-project.org

0 commit comments

Comments
 (0)