Skip to content

Commit

Permalink
Merge pull request #4 from dnum-mi/feat-/add-origin-push
Browse files Browse the repository at this point in the history
workflow : add on push main
  • Loading branch information
mogador26 authored Nov 28, 2023
2 parents 9c3022f + ff9251d commit 8d7024f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Deploy Eleventy with GitHub Pages dependencies preinstalled
on:
# Runs on pushes targeting the default branch
push:
branches: ["gh-pages"]
branches: ["gh-pages","main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[![Deploy Eleventy with GitHub Pages dependencies preinstalled](https://github.com/dnum-mi/cct-mi/actions/workflows/Deploy%20Eleventy%20with%20GitHub%20Pages_dependencies_preinstalled.yml/badge.svg)](https://github.com/dnum-mi/cct-mi/actions/workflows/Deploy%20Eleventy%20with%20GitHub%20Pages_dependencies_preinstalled.yml)




# eleventy-dsfr

Un dépôt pour démarrer un site statique au [DSFR](https://www.systeme-de-design.gouv.fr/) avec le
Expand Down
3 changes: 2 additions & 1 deletion _includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
<style>{% getBundle "css" %}</style>
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
let config = { startOnLoad: true, flowchart: { useMaxWidth: false, htmlLabels: true } };
mermaid.initialize(config);
</script>
<script>mermaid.initialize({ startOnLoad: true });</script>
<meta name="generator" content="{{ eleventy.generator }}">

<title>{{ title or metadata.title }}</title>
Expand Down

0 comments on commit 8d7024f

Please sign in to comment.