generated from Scribouilli/site-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c924305
Showing
13 changed files
with
220 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# This config is inspired by https://github.com/actions/starter-workflows/blob/main/pages/jekyll.yml | ||
|
||
name: Deploy Scribouilli site to GitHub Pages with a custom theme | ||
|
||
on: | ||
push: | ||
repository_dispatch: | ||
types: atelier-scribouilli | ||
|
||
# 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: | ||
# cf. https://stackoverflow.com/questions/64781462/github-actions-default-branch-variable | ||
# Run job only on default branch (as $default_branch variable only works on | ||
# workflow templates) | ||
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 # Per recommandation https://github.com/ruby/setup-ruby?tab=readme-ov-file#versioning | ||
with: | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
cache-version: 1 # Increment this number if you need to re-download cached gems | ||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v5 | ||
- name: Install dependencies | ||
run: bundle install | ||
- name: Build with Jekyll | ||
# Outputs to the './_site' directory by default | ||
run: bundle exec jekyll build | ||
env: | ||
JEKYLL_ENV: production | ||
- name: Upload artifact | ||
# Automatically uploads an artifact from the './_site' directory by default | ||
uses: actions/upload-pages-artifact@v3 | ||
|
||
# Deployment job | ||
deploy: | ||
# cf. https://stackoverflow.com/questions/64781462/github-actions-default-branch-variable | ||
# Run job only on default branch (as $default_branch variable only works on | ||
# workflow templates) | ||
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) | ||
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@v4 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
_site/ | ||
.sass-cache/ | ||
.jekyll-cache/ | ||
.jekyll-metadata | ||
# Ignore folders generated by Bundler | ||
.bundle/ | ||
vendor/ | ||
|
||
# Nous voulons que le site puisse se mettre à jour, notamment si le thème est mis à jour | ||
# Le thème est fourni dans le Gemfile sous la forme d'un repo git et de sa branche "main" | ||
# Un Gemfile.lock bloque le commit de ce thème au commit du moment de la génération du | ||
# fichier Gemfile.lock | ||
# Donc, nous choisissons de ne pas versionner le Gemfile.lock | ||
Gemfile.lock |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
default: | ||
image: ruby:3.2.2 | ||
cache: | ||
- key: | ||
files: | ||
- Gemfile.lock | ||
paths: | ||
- vendor/bundle | ||
before_script: | ||
- gem install bundler | ||
- bundle config set --local path "vendor/bundle" | ||
- bundle install | ||
|
||
stages: | ||
- deploy | ||
|
||
|
||
pages: | ||
stage: deploy | ||
variables: | ||
JEKYLL_ENV: production | ||
LC_ALL: C.UTF-8 | ||
script: | ||
- bundle exec jekyll build -d public | ||
- gzip -k -9 $(find public -iname '*.html' -o -iname '*.css' -o -iname '*.js' -o -iname '*.json') || true | ||
artifacts: | ||
paths: | ||
- public | ||
rules: | ||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.2.2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "jekyll", "~> 4.3.2" | ||
|
||
# Jekyll theme for Scribouilli | ||
gem "mimoza", git: "https://github.com/Scribouilli/mimoza.git", branch: "main" | ||
|
||
group :jekyll_plugins do | ||
# Handle redirections | ||
gem "jekyll-redirect-from", "~> 0.16" | ||
|
||
# Atom feed on Jekyll posts | ||
gem "jekyll-feed", "~> 0.17" | ||
|
||
# Pagination | ||
gem "jekyll-paginate-v2", "~> 3.0" | ||
|
||
# SEO tags | ||
gem "jekyll-seo-tag", "~> 2.8" | ||
|
||
# Generate a sitemap | ||
gem "jekyll-sitemap", "~> 1.4" | ||
|
||
# Enable Jekyll to read custom YAML front matter | ||
gem "jekyll-optional-front-matter", "~> 0.3" | ||
|
||
# Add default layouts to pages and posts | ||
gem "jekyll-default-layout", "~> 0.1.5" | ||
|
||
# Generate default titles from headings | ||
gem "jekyll-titles-from-headings", "~> 0.5.3" | ||
end | ||
|
||
group :development do | ||
gem "dotenv", "~> 2.7" | ||
gem "webrick", "~> 1.7" | ||
end | ||
|
||
group :test do | ||
gem 'rspec' | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 Scribouilli | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
collections: | ||
projects: | ||
output: true | ||
plugins: | ||
- jekyll-feed | ||
theme: mimoza |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Activités | ||
order: 1 | ||
--- | ||
|
||
L’association cherche à œuvrer en collaboration avec des organismes publics, des organisations privées et des individus. | ||
|
||
## Nos activités | ||
|
||
A titre indicatif, les activités commerciales possibles sont (liste non-exhaustive) : | ||
|
||
- Accompagnement à la **création de structures** juridiques | ||
- Conception, développement et accompagnement de **produits innovants** | ||
- **Formation** d’enfants et d’adultes, par exemple dans les domaines de la communication non-violente, méthodologie lean et approche agile, les relations aux animaux, l’alimentation, la gestion de budget familial ou d’entreprise… | ||
- Projets à **impact environnemental positif** | ||
- Projets à **impact social positif** | ||
- Vente d’objets ou de denrées alimentaires, avec **impact humain ou environnemental positif** |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
:root { | ||
--couleur-primaire : #2a6442; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Contact | ||
order: 1 | ||
--- | ||
|
||
L'Échappée Belle est actuellement composée de 6 membres. | ||
|
||
Pour nous contacter : [[email protected]](mailto:[email protected]) | ||
` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Dans ce dossier, vous pouvez **glisser vos images** ou les ajouter via le bouton "Add file" -> "Upload file" en haut à droite.\\ | ||
Ensuite, vous pouvez faire un clic droit **sur l'image** pour récupérer son lien et ensuite l'afficher en Markdown. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: Accueil | ||
order: 0 | ||
--- | ||
|
||
# L'Échappée Belle | ||
|
||
L'Échappée Belle est **une association** qui a pour objet de soutenir et promouvoir des activités et des personnes qui travaillent autour de **valeurs de consentement, de bien commun et de prendre soin des personnes et de l’environnement**. |