2024/04/25 別に定める借上社宅管理細則制定に伴う記載内容の修正、基本退職金支給率早見表の追加 #27
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'"}' |