2023/11/01 組織規程、職位職種区分規程 (職種職名区分規程から名称変更) の改定 #12
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'"}' |