Skip to content

Merge pull request #50 from vnegi10/Update_actions #84

Merge pull request #50 from vnegi10/Update_actions

Merge pull request #50 from vnegi10/Update_actions #84

Workflow file for this run

# Adapted from https://github.com/MichaelHatherly/Publish.jl
name: Publish
on:
push:
branches: ['main']
jobs:
publish:
name: "Publish Documentation (dev)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
ref: gh-pages
path: gh-pages
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- name: Install dependencies
run: |
julia --color=yes --project=. -e 'using Pkg; Pkg.instantiate()'
- name: Build and deploy
run: |
cd gh-pages
julia --color=yes --project=../docs -e "using Pkg; Pkg.instantiate()"
julia --color=yes --project=../docs -e 'include("../docs/make.jl"); build_and_deploy("dev")'
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "(dev) Built by Publish.jl."
git push