Publish the how-to #453
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: Publish the how-to | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install JDK 11 | |
uses: AdoptOpenJDK/install-jdk@v1 | |
with: | |
version: 11 | |
- name: Run builds | |
run: ./.run.builds.sh | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.7' | |
- uses: actions/checkout@v2 | |
with: | |
ref: "gh-pages" | |
path: "_gh_pages" | |
- name: Run Jekyll and deploy | |
run: ./.run.jekyll.sh |