2023/12/28 法定労働時間・法定休日に関する明確化、固定深夜割増が設定されている場合の深夜勤務の事前許可制の撤廃、有給休暇で付与さ… #26
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
name: main | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
container: | |
image: texlive/texlive | |
defaults: | |
run: | |
working-directory: ./ | |
steps: | |
- uses: actions/checkout@v1 | |
- name: make | |
run: | | |
make -j | |
mkdir -p ./public/ | |
find . -name '*.pdf' | xargs -I% mv % ./public/ | |
for name in `ls public/`; do echo "<a href=./$name>$name</a><br>" >> public/index.html; echo "$name" >> public/list.txt; done | |
- name: pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: public | |
force_orphan: true | |
dispatch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: repository | |
run: | | |
curl -X POST https://api.github.com/repos/ricosjp/rules/dispatches \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
-H "authorization: token ${{ secrets.DISPATCH_TOKEN }}" \ | |
--data '{"event_type":"from '$GITHUB_REPOSITORY'"}' |