Unverified Commit b45c8b3b authored by Laurent Heirendt's avatar Laurent Heirendt Committed by GitHub
Browse files

Merge pull request #233 from LCSB-BioCore/lh-fix-deploy

fix doc deployment
parents 2df44571 13d27f43
name: Documentation
on:
push:
tags: '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1.5'
- 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 }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: julia --project=docs/ docs/make.jl
......@@ -58,9 +58,9 @@ makedocs(
],
)
deploydocs(
repo = "github.com/$(ENV["TRAVIS_REPO_SLUG"])",
repo = "github.com/$(ENV["TRAVIS_REPO_SLUG"]).git",
target = "build",
branch = "gh-pages",
push_preview = true,
deploy_config = deployconfig,
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment