Skip to content

Merge pull request #369 from azu/azu-patch-1 #46

Merge pull request #369 from azu/azu-patch-1

Merge pull request #369 from azu/azu-patch-1 #46

Workflow file for this run

name: deploy
on: [push, pull_request]
permissions:
contents: write
jobs:
deploy:
name: "Build and Deploy"
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
submodules: recursive # for _tools/fopub/
- name: setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- uses: reitzig/[email protected]
- name: Install
run: yarn install && bundle install --path vendor/bundle
- name: Build
run: |
make html
make pdf
"./_tools/check-to-deploy.sh"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./
exclude_assets: '.github,**/.gitignore,node_modules,.bundle,.netlify,_tools' # .gitignoreを無視する