Add Atom feed #96
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: Build to gh-pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
github-pages: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 22.2 | |
- name: yarn install | |
run: | | |
yarn install --frozen-lockfile | |
- name: Install PlantUML and libvips | |
env: | |
PLANTUML_JAR: https://github.com/plantuml/plantuml/releases/download/v1.2023.13/plantuml-1.2023.13.jar | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y plantuml libvips | |
wget $PLANTUML_JAR -O plantuml.jar | |
sudo mv plantuml.jar /usr/share/plantuml/plantuml.jar | |
- name: Build site | |
uses: limjh16/jekyll-action-ts@v2 | |
with: | |
enable_cache: true | |
format_output: true | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./_site |