Fix support for an appendix part (and more) #90
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: | |
pull_request: | |
branches: | |
- main | |
- master | |
name: test-inbomd-examples | |
permissions: | |
contents: write | |
jobs: | |
test-examples: | |
runs-on: ubuntu-latest | |
name: "test Rmd" | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: build examples | |
uses: inbo/actions/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
EXAMPLE_BRANCH: main | |
- name: push gh-pages | |
if: ${{ github.event_name == 'push' }} | |
run: | | |
ls | |
git config --global user.email "[email protected]" | |
git config --global user.name "INBO" | |
git status | |
git checkout gh-pages | |
git status | |
git rm -r . | |
ls | |
cp -R $GITHUB_WORKSPACE/docs/. $GITHUB_WORKSPACE/. | |
git add --all | |
git commit --amend --message="Voorbeelden voor INBOmd" | |
git push -f |