Skip to content

Commit

Permalink
Met à jour la version d'eleventy et du DSFR
Browse files Browse the repository at this point in the history
  • Loading branch information
newick committed Dec 19, 2024
1 parent fdc2457 commit 6d1768b
Show file tree
Hide file tree
Showing 553 changed files with 7,436 additions and 2,349 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
root = true

[*]
indent_style = space
indent_style = tab
indent_size = 2
end_of_line = lf
insert_final_newline = true
Expand Down
169 changes: 0 additions & 169 deletions .eleventy.js

This file was deleted.

1 change: 0 additions & 1 deletion .eleventyignore

This file was deleted.

2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/workflows/deploy-11ty.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Sample workflow for building and deploying an Eleventy site to GitHub Pages
name: Deploy Eleventy with GitHub Pages dependencies preinstalled

on:
# Runs on pushes targeting the default branch
push:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Build with Eleventy
run: |
npm install
npm run build-ghpages
- name: Index site for pagefind
run: npm run postbuild
- name: fr fallback homepage
run: "cp _site/fr/index.html _site/index.html"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
22 changes: 0 additions & 22 deletions .github/workflows/deploy.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/ecowatt-api-mirroring.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@
_site/
node_modules/
package-lock.json
a-propos/.DS_Store
_includes/layouts/videoreferents.njk
publications/videos-referents-2024/episode-15-deployer-strategie.md
publications/videos-referents-2024/index.njk
publications/videos-referents-2024/intro.md
_includes/layouts/videoreferents.njk
publications/videos-referents-2024/episode-15-deployer-strategie.md
_includes/layouts/videoreferents.njk
publications/.DS_Store
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions 404.md

This file was deleted.

1 change: 0 additions & 1 deletion CNAME

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2021 DINSIC/Etalab
Copyright (c) 2021-2023 DINUM/Etalab

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 6d1768b

Please sign in to comment.