Skip to content

Commit

Permalink
Change documentation build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ohno committed Nov 13, 2023
1 parent 30e7764 commit 7924fed
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 117 deletions.
68 changes: 0 additions & 68 deletions .github/workflows/CI.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/CompatHelper.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/TagBot.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# https://documenter.juliadocs.org/stable/man/hosting/#GitHub-Actions

name: Documentation

on:
push:
branches:
- master # update to match your development branch (master, main, dev, trunk, ...)
tags: '*'
pull_request:

jobs:
build:
permissions:
contents: write
statuses: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: '1.9'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
run: julia --project=docs/ docs/make.jl
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Build Status](https://github.com/ohno/Antiq.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/ohno/Antiq.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Coverage](https://codecov.io/gh/ohno/Antiq.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/ohno/Antiq.jl)

**An**aly**ti**cal soulutions of Schrödinger e**q**uations named by [@KB-satou](https://github.com/KB-satou) and [@ultimatile](https://github.com/ultimatile)
**An**aly**ti**cal soulutions of Schrödinger e**q**uations, named by [@KB-satou](https://github.com/KB-satou) and [@ultimatile](https://github.com/ultimatile)

Self-contained, Well-Tested, Well-Documented Functions for Quantum Mechanical Models

Expand Down
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CurrentModule = Antiq

# Antiq

**An**aly**ti**cal soulutions of Schrödinger e**q**uations named by [@KB-satou](https://github.com/KB-satou) and [@ultimatile](https://github.com/ultimatile)
**An**aly**ti**cal soulutions of Schrödinger e**q**uations, named by [@KB-satou](https://github.com/KB-satou) and [@ultimatile](https://github.com/ultimatile)

Self-contained, Well-Tested, Well-Documented Functions for Quantum Mechanical Models

Expand Down

0 comments on commit 7924fed

Please sign in to comment.