Skip to content

Commit

Permalink
Update CI template from PkgTemplates.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
jmert committed Dec 11, 2021
1 parent b5cd06c commit 8d533d2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
paths-ignore:
- 'README.md'
- '.github/workflows/**'
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:
test:
Expand Down Expand Up @@ -72,12 +77,8 @@ jobs:
Registry.add(RegistrySpec("General"))
Registry.add(RegistrySpec(url = "https://github.com/jmert/Registry.jl"))
include("scripts/test_minver.jl")'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: julia --project=docs docs/make.jl
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

0 comments on commit 8d533d2

Please sign in to comment.