ajout exemple bernouilli #57
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
on: | |
push: | |
branches: | |
- master | |
name: Build html | |
jobs: | |
Build_deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@master | |
- uses: r-lib/actions/setup-pandoc@v1 | |
with: | |
pandoc-version: '2.7.3' | |
- uses: r-lib/actions/setup-r@v1 | |
with: | |
r-version: '3.6.0' | |
- name: Install dependencies | |
run: make install | |
- name: build html | |
run: make | |
- name: prepare deployment | |
run: make deploy | |
- name: Deploy gh_pages | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: slides | |
SINGLE_COMMIT: true | |
- name: Trigger next workflow | |
if: success() | |
uses: peter-evans/repository-dispatch@v1 | |
with: | |
token: ${{ secrets.REPO_GHA_PAT }} | |
repository: ${{ github.repository }} | |
event-type: trigger-build_pdf |