Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 1 addition & 2 deletions .github/workflows/promote-to-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ jobs:
- name: Build and compress output
run: |
set -x
mkdir -p output/{k8s,public,nginx}
mkdir -p output/{k8s,public}
cp -fr ci/k8s/*.yml output/k8s
cp -fr ci/nginx/*.conf output/nginx
cp -fr public/* output/public
cp -f ci/Dockerfile output/Dockerfile
tar -cjf output.tar.bz2 -C output .
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ jobs:
- name: Build and compress output
run: |
set -x
mkdir -p output/{k8s,public,nginx}
mkdir -p output/{k8s,public}
cp -fr ci/k8s/*.yml output/k8s
cp -fr ci/nginx/*.conf output/nginx
cp -fr public/* output/public
cp -f ci/Dockerfile output/Dockerfile
tar -cjf output.tar.bz2 -C output .
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,8 @@ jobs:
- name: Build and compress output
run: |
set -x
mkdir -p output/{k8s,public,nginx}
mkdir -p output/{k8s,public}
cp -fr ci/k8s/*.yml output/k8s
cp -fr ci/nginx/*.conf output/nginx
cp -fr public/* output/public
cp -f ci/Dockerfile output/Dockerfile
tar -cjf output.tar.bz2 -C output .
Expand Down
13 changes: 0 additions & 13 deletions ci/nginx/nginx.conf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 'Du monolitique aux microservices'
title: Du monolitique aux microservices
slug: du-monolitique-aux-microservices
date: 2022-09-27
author: lkpeto
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 'Comment exposer une application locale sur internet ?'
title: Comment exposer une application locale sur internet ?
slug: comment-exposer-une-application-locale-sur-internet
date: 2022-09-30
author: lkpeto
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 'Installer Jenkins avec docker compose'
title: Installer Jenkins avec docker compose
slug: installer-jenkins-avec-docker-compose
date: 2022-10-01
author: lkpeto
Expand Down
10 changes: 10 additions & 0 deletions src/components/PostLayout.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import * as React from 'react';

export function PostLayout({ title, children }) {
return (
<main>
<h1>{title}</h1>
{children}
</main>
);
}
11 changes: 8 additions & 3 deletions src/pages/blog-posts/{mdx.frontmatter__slug}.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import * as React from 'react';
import { PostLayout } from '../../components/PostLayout';

const PostPage = (props) => {
return <>{props.children}</>;
export const Head = ({ pageContext }) => {
const { frontmatter } = pageContext;
return <title>{frontmatter.title}</title>;
};

export default PostPage;
export default function PostPage({ pageContext, children }) {
const { frontmatter } = pageContext;
return <PostLayout title={frontmatter.title}>{children}</PostLayout>;
}