-
Notifications
You must be signed in to change notification settings - Fork 2
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
Marie-Pierre Etienne
committed
Jul 22, 2024
1 parent
ab2d8a3
commit 72b81f8
Showing
2 changed files
with
39 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,14 @@ | ||
|
||
jobs: | ||
build: | ||
name: Build website with rmarkdown | ||
runs-on: ubuntu-latest | ||
container: stateofther/r-finistr2024:0.1 | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Additional Packages | ||
run: Rscript -e "install.packages(c('tictoc'))" | ||
- name: Generate slides | ||
run: "quarto render" |
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,25 @@ | ||
name: website | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
name: Build website with rmarkdown | ||
runs-on: ubuntu-latest | ||
container: stateofther/r-finistr2024:0.1 | ||
|
||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Additional Packages | ||
run: Rscript -e "install.packages(c('tictoc'))" | ||
- name: Generate slides | ||
run: "quarto render" | ||
- name: GitHub Pages action | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./_site |