Skip to content

Commit

Permalink
Combine docs workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromxavier committed Sep 26, 2024
1 parent f6f1135 commit 09c7a62
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 24 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
build:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -20,3 +20,19 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
run: julia --project=docs/ docs/make.jl
build-multidocs:
runs-on: ubuntu-latest
needs: build-docs
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1.10'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(path=@__DIR__); Pkg.instantiate()'
- name: Aggregate and deploy
run: |
git config user.name github-actions
git config user.email [email protected]
julia --project=docs/ docs/multimake.jl
23 changes: 0 additions & 23 deletions .github/workflows/multidocs.yml

This file was deleted.

0 comments on commit 09c7a62

Please sign in to comment.