Skip to content

Publish the how-to

Publish the how-to #71

Workflow file for this run

name: Publish the how-to
on:
push:
branches:
- master
schedule:
- cron: '0 0 * * *'
permissions:
contents: read
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'semeru'
java-version: '21'
- name: Run builds
run: ./.run.builds.sh
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.1'
- name: Run Jekyll and deploy
run: ./.run.jekyll.sh
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./_site/
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4