Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
359 commits
Select commit Hold shift + click to select a range
34a07fd
transfer wiki
nicotlm Oct 24, 2025
99d260f
categories streamlining
nicotlm Oct 24, 2025
9257614
JOCAS (FR) : #116
nicotlm Oct 24, 2025
4df7460
update template.py
nicotlm Oct 24, 2025
efa27c9
with updated link to github and deletion of multiple footnotes
nicotlm Nov 7, 2025
3a5d85b
deletion of polars-tuto
nicotlm Nov 7, 2025
87cad9e
typos variable about.en
nicotlm Nov 7, 2025
95c5f65
variable link to repo
nicotlm Nov 7, 2025
4dfbbdc
projects description
nicotlm Nov 7, 2025
6ae89a2
add formation R MTES - issue #118
nicotlm Nov 7, 2025
7187800
update link training sspcloud - issue #118
nicotlm Nov 7, 2025
6c6929e
add formation Observable - issue #118
nicotlm Nov 7, 2025
70a16e2
update english version #116 #114
nicotlm Nov 7, 2025
0bf2a8e
with github icon
nicotlm Nov 7, 2025
fc7b767
update to match call from shell
nicotlm Nov 7, 2025
53ba0f0
update translate to translate index.qmd
nicotlm Nov 7, 2025
32c012f
update readme for translate and project creation
nicotlm Nov 7, 2025
bf14ae7
with doremifasol #116 and english version #114
nicotlm Nov 7, 2025
34c632e
add DREES datavisualisation on COVID19 tests - issue #114 and #116
nicotlm Nov 7, 2025
523fa59
add JOCAS english version - issue #114
nicotlm Nov 7, 2025
d80330d
format template.py
nicotlm Nov 7, 2025
0a72c20
add pynsee, EN and FR versions - issue #114 #116
nicotlm Nov 7, 2025
a246d3a
update project template
nicotlm Nov 7, 2025
38eabdd
add open science monitor, EN and FR versions - issue #114 #116
nicotlm Nov 7, 2025
26658b9
update template with github repo
nicotlm Nov 7, 2025
8e8f8cf
small updates
nicotlm Nov 7, 2025
9b2c6d1
with github fa
nicotlm Nov 12, 2025
cee1102
fix bug in pynsee index.qmd with github fa
nicotlm Nov 12, 2025
178fc0c
update link to repo code + harmonization between pages
nicotlm Nov 12, 2025
b7d6a44
with Curiexplore, FR and EN, #116 #114
nicotlm Nov 12, 2025
4517617
with .venv
nicotlm Nov 12, 2025
8806161
translate function: search in project dir
nicotlm Nov 12, 2025
4949d2a
update Curiexplore #114 #116
nicotlm Nov 12, 2025
0c7af33
add lockdown population movement, FR and EN versions #114 #116
nicotlm Nov 12, 2025
6545144
update readme
nicotlm Nov 12, 2025
5f3e4c1
update site-url for preview
nicotlm Nov 12, 2025
f03ac86
update github link curiexplore
nicotlm Nov 12, 2025
6d64964
harmonization categories with gdp_media
nicotlm Nov 12, 2025
70237eb
add project "prevoir croissance en lisant le journal", FR #104 and EN…
nicotlm Nov 12, 2025
794df3a
with english image
nicotlm Nov 12, 2025
9ee6b50
add project amelioration RP, FR #104 and EN #116
nicotlm Nov 12, 2025
5ade4c3
add project cybercrime, FR #104 and EN #116
nicotlm Nov 12, 2025
cf77f59
fix cybercrime
nicotlm Nov 12, 2025
d41f19a
add blog JMS2022 #104 and link to JMS in extraction_CS
nicotlm Nov 13, 2025
0d7483f
blog : add caveat for blog
nicotlm Nov 13, 2025
5ed9aa3
blog : mapreduce vs hadoop #104
nicotlm Nov 13, 2025
c4a3b48
rebase on main : network day
nicotlm Nov 13, 2025
d6dc50b
project: add enquete asso, FR #104 and EN #116
nicotlm Nov 14, 2025
053ef39
clean dev.yaml
nicotlm Nov 14, 2025
64f3a0f
project: add outlier dsn, FR #104 and EN #116
nicotlm Nov 14, 2025
cbc71be
with default logo for listings
nicotlm Nov 14, 2025
6bf9bea
update index not to have too many cards
nicotlm Nov 14, 2025
aa96849
fix bug with logo
nicotlm Nov 14, 2025
b427f1a
creation of similar projects by default
nicotlm Nov 14, 2025
c670060
add old project: segregation
nicotlm Nov 14, 2025
f993425
glossary for translation - first attempt
nicotlm Nov 14, 2025
7dff7c3
typo webscraping
nicotlm Nov 14, 2025
c13f250
update scripts
nicotlm Nov 14, 2025
f782449
update readme
nicotlm Nov 14, 2025
906cbd5
add project "webscraping IPC", FR #104 and EN #116
nicotlm Nov 14, 2025
d69fb37
add similar project : ipc and webscrapping
nicotlm Nov 14, 2025
85b85db
add similar project : new data
nicotlm Nov 14, 2025
3529911
add similar project: automatic coding - to update
nicotlm Nov 14, 2025
e2ac386
add similar project: webscraping - to update
nicotlm Nov 14, 2025
a8a14f6
add similar project : package - to update
nicotlm Nov 14, 2025
c38cdc3
Update build-render job conditions in dev.yaml
nicotlm Nov 14, 2025
e273869
Add push trigger for all branches in dev workflow
nicotlm Nov 14, 2025
e66d35e
Update glossary with new French-English terms
nicotlm Nov 14, 2025
a3e80ea
test preview
nicotlm Nov 17, 2025
91836a5
return to dev.yml at 053ef391bab84b45326c3a0e32650b654ea73dd1
nicotlm Nov 17, 2025
dbfd9ef
test preview
nicotlm Nov 17, 2025
deef54b
test preview -2
nicotlm Nov 17, 2025
24c4de3
rebase on main
nicotlm Nov 17, 2025
5c752b6
update concurrency
nicotlm Nov 17, 2025
46d7d40
update dev.yml with no push
nicotlm Nov 17, 2025
8b8cba0
name to dev.yml
nicotlm Nov 17, 2025
15ac45a
with pr_number in dev.yml
nicotlm Nov 17, 2025
930815f
add similar project : package - final
nicotlm Nov 17, 2025
3d4c022
add similar project: automatic coding - final
nicotlm Nov 17, 2025
3828e9d
add similar project: webscraping - final
nicotlm Nov 17, 2025
b1c5781
typo
nicotlm Nov 17, 2025
cdf1edb
with short presentation of what a project is
nicotlm Nov 17, 2025
720dc36
modif suite point mensuel
nicotlm Nov 18, 2025
3a543e7
add a new row for documentation and harmonization of references to JMS
nicotlm Nov 18, 2025
e8ec4e6
add project on food products classification , FR #104 and EN #116
nicotlm Nov 18, 2025
a346855
add project RSVERO, FR #104 and EN #116
nicotlm Nov 18, 2025
3d31253
harmonization translation - MSO/SSM
nicotlm Nov 18, 2025
f43e42d
update template with categories for listing
nicotlm Nov 18, 2025
2f2708b
rebase on main
nicotlm Nov 18, 2025
45c4dd5
Merge branch 'main' into fusion_site_ssplab
nicotlm Nov 18, 2025
e04eba9
merge main into fusion_ssplab
nicotlm Nov 18, 2025
5b33516
translate : add removal of usual issues with Qmd table
nicotlm Nov 18, 2025
e32d9d7
add project: 2021 webscraping ipc
nicotlm Nov 18, 2025
6c6ce55
fix typo link to previous event
nicotlm Nov 18, 2025
82e5f40
typo link to manifesto
nicotlm Nov 19, 2025
0c11f85
with function to extract project details
nicotlm Nov 19, 2025
32a86f2
add project on new sources of data - CB data
nicotlm Nov 19, 2025
e615550
move resil/matching project
nicotlm Nov 19, 2025
d33cf9c
harmonization tags for private data sources
nicotlm Nov 19, 2025
095fa5f
add mobile phone data use
nicotlm Nov 19, 2025
97a112f
update readme with categories harmonization
nicotlm Nov 19, 2025
95cc5df
update tabac.png
nicotlm Nov 19, 2025
2bf35fe
typo blog
nicotlm Nov 19, 2025
e6d7dd0
fix image link and delete default image
nicotlm Nov 19, 2025
3908460
update default image for english version
nicotlm Nov 19, 2025
c08b512
fix typo
nicotlm Nov 19, 2025
bf23e62
delete unnecessary arg pr_number
nicotlm Nov 19, 2025
53fe892
update homepage style (EN)
nicotlm Nov 19, 2025
85649d2
move projects (english version) to homepage - try
nicotlm Nov 19, 2025
7bea5e4
cpi and updates links webscraping ipc
nicotlm Nov 21, 2025
10f72da
.nojekyll useless
nicotlm Dec 5, 2025
63c286a
Merge branch 'main' into fusion_site_ssplab
nicotlm Dec 9, 2025
3311969
update announcement
nicotlm Dec 9, 2025
2070f7f
without init.sh
nicotlm Dec 9, 2025
8f34f0c
add title list projects
nicotlm Dec 16, 2025
170056f
Merge remote-tracking branch 'origin/main' into fusion_site_ssplab
nicotlm Dec 16, 2025
b63c123
dev.yml back to previous merge
nicotlm Dec 16, 2025
dfe009d
fix typo intro
nicotlm Dec 16, 2025
0a06ee9
harmonization listings
nicotlm Dec 16, 2025
a8dec0f
add project electricity and forecast, FR #104 and EN # 116 and harmo…
nicotlm Dec 16, 2025
22fba1e
add project bank account, FR #104 and EN # 116
nicotlm Dec 16, 2025
d6dea3e
small fixes
nicotlm Dec 16, 2025
40f4d32
fix typo segregation
nicotlm Dec 16, 2025
f62f759
fix bug segregation
nicotlm Dec 17, 2025
0cdf425
harmonization date desc
nicotlm Dec 17, 2025
1c5b949
harmonization of metadata
nicotlm Dec 17, 2025
399fd08
remove category fasttext
nicotlm Dec 18, 2025
aa45701
update contributing with latest version of website
nicotlm Dec 18, 2025
cfc0576
Rename CONTRIBUTING.md to CONTRIBUTING.Qmd
nicotlm Dec 18, 2025
db818af
test contributing
nicotlm Dec 18, 2025
d9eaa9c
test 2
nicotlm Dec 18, 2025
d0b6878
test code annotation md
nicotlm Dec 18, 2025
ae1272d
test 3 code annotation
nicotlm Dec 18, 2025
b041199
update contributing
nicotlm Dec 18, 2025
1daca4c
update translate of contributing
nicotlm Dec 19, 2025
584c082
fix typos
nicotlm Dec 19, 2025
c542a7f
fix typos
nicotlm Dec 19, 2025
d1c488b
update file names
nicotlm Dec 22, 2025
b88e1e3
update file name in script
nicotlm Dec 22, 2025
d4ebb03
script to fetch last commit
nicotlm Dec 22, 2025
0ce7100
with function to clone the repo and dic of repos to clone
nicotlm Dec 22, 2025
02136a8
with function to replace in qmd files
nicotlm Dec 22, 2025
150c9f0
multiple replacements
nicotlm Dec 22, 2025
44fa111
with function to update commit_sha
nicotlm Dec 22, 2025
21306ff
with main function to check if recent commit, clone repo, update loca…
nicotlm Dec 22, 2025
33885bf
Updating project/2022_satellites/cards based on last commit 862f2dc2f…
nicotlm Dec 22, 2025
3654347
final touch with special caracters
nicotlm Dec 22, 2025
6cd2854
Remerge 'main' into fusion_site_ssplab to allow pre_view
nicotlm Dec 22, 2025
422ccc8
remove field video
nicotlm Dec 22, 2025
e23e178
fix typo dev
nicotlm Dec 22, 2025
6a5b6cc
with gha to create a PR
nicotlm Dec 22, 2025
3e19aa5
creates a branch and push to that branch
nicotlm Dec 22, 2025
c923395
renaming GHA
nicotlm Dec 22, 2025
0d48d60
with update trigger event
nicotlm Dec 22, 2025
5572d71
fix trigger event
nicotlm Dec 22, 2025
09c83ce
Update project/2022_satellites/cards based on commit made to https:/…
actions-user Dec 22, 2025
c2637ab
Update project/2022_codif_ape/cards based on commit 0d474addc0735a610…
actions-user Dec 22, 2025
4503634
update rbanch creation
nicotlm Dec 22, 2025
0312e95
Merge branch 'fusion_site_ssplab' of https://github.com/InseeFrLab/ss…
nicotlm Dec 22, 2025
3ab9584
update script with dedicated branch
nicotlm Dec 22, 2025
9c8d8fa
test
nicotlm Dec 23, 2025
73722a0
update script to loop over file
nicotlm Dec 23, 2025
a717663
update script to comment multiple website insertions
nicotlm Dec 23, 2025
018e9b1
update script to checkout and replacements to be made
nicotlm Dec 23, 2025
644a5f8
update script
nicotlm Dec 23, 2025
8fbb499
fix typo
nicotlm Dec 23, 2025
7a60854
remote branch deletion
nicotlm Dec 23, 2025
f03d758
update branch deletion order
nicotlm Dec 23, 2025
dad4d9c
improve feedback from script
nicotlm Dec 23, 2025
2cee3c3
Merge branch 'main' into fusion_site_ssplab
nicotlm Jan 15, 2026
d1a420c
post merge - update latest content homepage
nicotlm Jan 15, 2026
b034bdb
post merge - mv cartographia
nicotlm Jan 15, 2026
5438648
post merge - fix
nicotlm Jan 15, 2026
a0d77d6
blog : add description
nicotlm Jan 15, 2026
ba1932b
add scanR project
nicotlm Feb 5, 2026
d20bb3e
add details about dsn results and outcome
nicotlm Feb 5, 2026
d945a4a
disable automatic auto_fetch
nicotlm Feb 5, 2026
69701ba
Update based on main : update cartographia and add infolettre_22 afte…
nicotlm Feb 5, 2026
41e4bec
update scanR based on methodo
nicotlm Feb 5, 2026
00e52cf
update scanR
nicotlm Feb 5, 2026
955224a
move notebook polars to ssphub org #119
nicotlm Feb 6, 2026
ffd9f81
Add reviews (#132)
nicotlm Mar 16, 2026
0e9c29e
sndsTools: add new project and translation (#133)
strayMat Mar 17, 2026
32a3e2f
delete project 2022_alimentation after review from LG
nicotlm Mar 17, 2026
4df8fe0
Merge branch 'main' of https://github.com/InseeFrLab/ssphub into fusi…
nicotlm Mar 17, 2026
275fdb1
project : no date and add a filter
nicotlm Mar 18, 2026
d1238c9
update names
nicotlm Mar 18, 2026
ec52c15
with render & preview
nicotlm Mar 18, 2026
65efef0
update readme
nicotlm Mar 18, 2026
7174778
fix path to R scripts
nicotlm Mar 18, 2026
4e831ba
clean up post merge main - mv talk dares
nicotlm Mar 18, 2026
1eb3bce
update readme
nicotlm Mar 18, 2026
6e52973
init infolettre
nicotlm Mar 25, 2026
75dd3e5
update readme
nicotlm Mar 25, 2026
941eacc
open science meetup
nicotlm Mar 26, 2026
3babe3f
uRos conf
nicotlm Mar 26, 2026
886e062
with talk ssm agreste
nicotlm Mar 26, 2026
2aa9b2b
review projet étudiant
nicotlm Mar 26, 2026
5a2be1c
talk ssm agri
nicotlm Mar 26, 2026
f601aba
rm journées os
nicotlm Mar 26, 2026
b740967
with infographie
nicotlm Mar 26, 2026
20d4fe9
with retour ssm agri
nicotlm Mar 27, 2026
df5d949
with default argument to max number of newsletter
nicotlm Mar 30, 2026
e511fc1
update readme
nicotlm Mar 30, 2026
28136b8
Ajout actualités infolettre 24
Mar 30, 2026
a5add48
Correction coquilles
Mar 30, 2026
22406fd
Correction coquilles
Mar 30, 2026
a982217
update lang to FR
nicotlm Mar 30, 2026
82d79c8
typos and relecture
nicotlm Mar 30, 2026
fed9c9b
remarks uRos
nicotlm Mar 30, 2026
cd7bccf
review MH
nicotlm Mar 30, 2026
8164b76
with MH parts
nicotlm Mar 30, 2026
eda0830
Merge branch 'main' into fusion_site_ssplab
nicotlm Mar 30, 2026
abe752a
clean up post merge - mv files to event
nicotlm Mar 30, 2026
3136c16
Merge branch 'main' into fusion_site_ssplab - final infolettre 24
nicotlm Mar 30, 2026
0b496f0
with llms-txt
nicotlm Apr 8, 2026
50ff9eb
fix typo install package
nicotlm Apr 8, 2026
219ca27
with FR version
nicotlm Apr 8, 2026
417dcaa
update readme
nicotlm Apr 8, 2026
3375892
review readme until translation
nicotlm Apr 8, 2026
a028bb6
update readme - translation
nicotlm Apr 9, 2026
9f0e382
update readme - titles
nicotlm Apr 9, 2026
117106d
update readme - S3
nicotlm Apr 9, 2026
427a7cf
Mise à jour IPC (#141)
CChemin Apr 9, 2026
c53150c
update link to polars notebook #144
nicotlm Apr 17, 2026
57ea623
Merge branch 'main' into fusion_site_ssplab
nicotlm Apr 17, 2026
a206570
add nbformat for dev rendering
nicotlm Apr 17, 2026
f354c27
mv jdos to event folder
nicotlm Apr 17, 2026
35613a4
fix link in infolettres post merge
nicotlm Apr 17, 2026
9b77f03
merge to main
nicotlm May 6, 2026
7bda4db
update pre release
nicotlm May 6, 2026
ec0de3f
Merge branch 'main' into fusion_site_ssplab
nicotlm May 6, 2026
aef51d7
typo
nicotlm May 6, 2026
82900d7
fix link post merge
nicotlm May 6, 2026
b8cb512
with pre-prod
nicotlm May 6, 2026
2f4359a
update fields en part
nicotlm May 6, 2026
9b3d1e2
harmonize workflows
nicotlm May 6, 2026
68d23af
comments
nicotlm May 6, 2026
76fea70
with nb inscrits
nicotlm May 6, 2026
2b320ea
update GHA with url for preprod and preview
nicotlm May 6, 2026
d251f21
rm ?? for cybercrim and dsn
nicotlm May 6, 2026
09737b6
no banner journée réseau
nicotlm May 6, 2026
82e59c8
update concurrency
nicotlm May 6, 2026
156c104
rename to preview
nicotlm May 6, 2026
58416ce
concurrency #129
nicotlm May 6, 2026
9ec7e3a
update names
nicotlm May 6, 2026
2bf0252
test concurrency
nicotlm May 6, 2026
da11e88
with icon
nicotlm May 6, 2026
d3cf900
update icon
nicotlm May 6, 2026
a2f2fef
typo ssm agri
nicotlm May 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
47 changes: 47 additions & 0 deletions .github/workflows/auto_fetch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: "Update external data"

on:
workflow_dispatch:
# push:
# branches:
# - fusion_site_ssplab
# schedule:
# - cron: '42 10 7 * *' # Runs once a month (the 7th) at 10h42 UTC to avoid GHA overload

jobs:
fetching-data:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"

- name: Install jq
run: sudo apt-get install jq

- name: Run synchronization script
id: run_script
run: |
chmod +x scripts/2_synchronize.sh
./scripts/2_synchronize.sh
if [ -n "$(git branch --list auto_fetch)" ]; then
echo "branch_created=true" >> $GITHUB_OUTPUT
else
echo "branch_created=false" >> $GITHUB_OUTPUT
fi

- name: Create Pull Request
if: steps.run_script.outputs.branch_created == 'true'
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Update based on latest commits"
title: "Update projects with latest external docs"
body: "This PR updates the projects external docs based on the latest commits from these repositories."
branch: "auto_fetch"
base: "main"
57 changes: 57 additions & 0 deletions .github/workflows/preprod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Workflow run only on pushes to main and manual trigger
on:
workflow_dispatch:
# cf https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#workflow_dispatch
push:
branches: fusion_site_ssplab

name: Test pre prod - render and publish to netlify

# Cancel previous workflow of ci that could be running
concurrency:
group: pre-prod # preview followed by the reference of the branch or tag that triggered the workflow
cancel-in-progress: true

jobs:
build-deploy-test-pre-prod:
runs-on: ubuntu-latest
steps:
- name: Check out repository # https://github.com/actions/checkout
uses: actions/checkout@v6

# add software dependencies here and any libraries
# See more at https://github.com/quarto-dev/quarto-actions/blob/main/examples/example-03-dependencies.md
- name: Configure safe.directory # Workaround for actions/checkout#760
run: git config --global --add safe.directory /__w/ssphub/ssphub

- name: Set up R
uses: r-lib/actions/setup-r@v2

- name: Install babelquarto
uses: r-lib/actions/setup-r-dependencies@v2
with:
packages: |
github::ropensci-review-tools/babelquarto@a485fea

- run: pip install jupyter nbformat # For infolettre17

- name: Update _quarto.yml with pre_prod url
run: |
sed -i 's/site-url:\ https:\/\/ssphub.netlify.app/site-url:\ https:\/\/ssphub-test.netlify.app/g' _quarto.yml
cat _quarto.yml

- name: Render bilingual project
run: |
Rscript scripts/1_render.R

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2 # https://github.com/quarto-dev/quarto-actions/tree/main/setup

- name: Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: netlify
render: false
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_SSPHUB_AUTH_TOKEN }}


33 changes: 17 additions & 16 deletions .github/workflows/dev.yaml → .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and deploy preview
name: Preview - render and publish to gh-pages

on:
workflow_dispatch: # To allow for manuel trigger of this workflow. Cf
Expand All @@ -16,7 +16,7 @@ env:
PREVIEW_BRANCH: gh-pages

concurrency:
group: preview-${{ github.ref }} # preview followed by the reference of the branch or tag that triggered the workflow
group: preview-${{ github.head_ref }} # preview followed by the reference of the branch or tag that triggered the workflow
cancel-in-progress: true

jobs:
Expand All @@ -37,23 +37,25 @@ jobs:
- name: Configure safe.directory # Workaround for actions/checkout#760
run: git config --global --add safe.directory /__w/ssphub/ssphub

- name: Install npm
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
uses: actions/setup-node@v2
with:
node-version: "18"
- name: Set up R
uses: r-lib/actions/setup-r@v2

- uses: actions/setup-python@v6 # for post on onyxia https://github.com/actions/setup-python?tab=readme-ov-file
- name: Install babelquarto
uses: r-lib/actions/setup-r-dependencies@v2
with:
python-version: "3.10" # Version range or exact version of a Python version to use, using SemVer's version range syntax
packages: |
github::ropensci-review-tools/babelquarto@a485fea

- run: pip install jupyter nbformat # for post on onyxia
- run: pip install jupyter nbformat # For infolettre17

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Update _quarto.yml with gh-pages preview url
run: |
sed -i 's/site-url:\ https:\/\/ssphub.netlify.app/site-url:\ https:\/\/inseefrlab.github.io\/ssphub\/pr-preview\/pr-${{ github.event.pull_request.number }}/g' _quarto.yml
cat _quarto.yml

- name: Render Quarto Project
uses: quarto-dev/quarto-actions/render@v2
- name: Render bilingual project
run: |
Rscript scripts/1_render.R

- name: Deploy preview
id: deploy-preview
Expand All @@ -63,7 +65,6 @@ jobs:
preview-branch: ${{ env.PREVIEW_BRANCH }}
action: deploy
comment: false
pr_number: ${{ github.event.pull_request.number }}

- name: Comment PR (custom)
uses: marocchino/sticky-pull-request-comment@v2
Expand All @@ -72,7 +73,7 @@ jobs:
message: |
:rocket: View preview at <br> ${{ steps.deploy-preview.outputs.preview-url }} <br>
<h6>Built to branch <a href="${{ github.server_url }}/${{ github.repository }}/tree/${{ env.PREVIEW_BRANCH }}"> ${{ env.PREVIEW_BRANCH }} </a> at ${{ steps.deploy-preview.outputs.action-start-time }}. <br> Preview will be ready when the <a href="${{ github.server_url }}/${{ github.repository }}/deployments">GitHub Pages deployment</a> is complete. <br> </h6>

delete-preview:
if: github.event.action == 'closed' # Only run when PR is closed
runs-on: ubuntu-latest
Expand Down
31 changes: 24 additions & 7 deletions .github/workflows/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches: main

name: CI - Quarto Publish
name: Prod - render and publish to netlify

# Cancel previous workflow of ci that could be running
concurrency:
Expand All @@ -19,17 +19,34 @@ jobs:
- name: Check out repository # https://github.com/actions/checkout
uses: actions/checkout@v6

- uses: actions/setup-python@v6 # for post on onyxia https://github.com/actions/setup-python?tab=readme-ov-file
# add software dependencies here and any libraries
# See more at https://github.com/quarto-dev/quarto-actions/blob/main/examples/example-03-dependencies.md
- name: Configure safe.directory # Workaround for actions/checkout#760
run: git config --global --add safe.directory /__w/ssphub/ssphub

- name: Set up R
uses: r-lib/actions/setup-r@v2

- name: Install babelquarto
uses: r-lib/actions/setup-r-dependencies@v2
with:
python-version: "3.10" # Version range or exact version of a Python version to use, using SemVer's version range syntax
packages: |
github::ropensci-review-tools/babelquarto@a485fea

- run: pip install jupyter nbformat # For infolettre17

- run: pip install jupyter nbformat
- name: Render bilingual project
run: |
Rscript scripts/1_render.R

- uses: quarto-dev/quarto-actions/setup@v2 # https://github.com/quarto-dev/quarto-actions/tree/main/setup
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2 # https://github.com/quarto-dev/quarto-actions/tree/main/setup

- name: Render and Publish
- name: Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: netlify
render: false
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}


18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,25 @@ node_modules/
go.sum
.hugo_build.lock

# Quarto
_freeze/
*.html
*.json
!scripts/2_repo_fetch.json
*.feed*
site_libs/

# For gh-pages
/.quarto/
_site/

rp_parquet/
*.quarto_ipynb
**/*.quarto_ipynb
course_files/

# Venv
.venv/
*/.venv/
__pycache__/
*/__pycache__/
Loading
Loading