Documentation Versions #98
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: Documentation Versions | |
on: | |
push: | |
branches: | |
- gh-pages | |
tags: "*" | |
workflow_run: | |
workflows: ["Documentation"] | |
types: | |
- completed | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: gh-pages | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: "1.7" | |
- name: Install dependencies | |
run: julia -e 'using Pkg; Pkg.add("JSON")' | |
- name: Update versions | |
run: julia update_version.jl | |
- uses: stefanzweifel/git-auto-commit-action@v4 |