Skip to content

Apply automatic JuliaFormating corrections #60

Apply automatic JuliaFormating corrections

Apply automatic JuliaFormating corrections #60

Workflow file for this run

name: Docs
on:
push:
branches:
- main
tags: '*'
pull_request:
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
docs:
permissions:
contents: write
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1.9'
- name: Setup dependencies
run: |
julia --project=docs/ -e 'using Pkg;
Pkg.develop([
PackageSpec(url="https://github.com/JuliaPsychometricsBazaar/PsychometricsBazaarBase.jl.git"),
PackageSpec(path=pwd())
]);
Pkg.add(Pkg.PackageSpec(name="GitHubActions", version="0.1"));
Pkg.instantiate()'
- name: Make docs
run: |
julia --project=docs/ -e '
include("docs/make.jl")'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}