-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using reusable workflows; remove dev from trigger
* Using reusable workflows from [GitHubActionsWorkflows](https://github.com/ProjectTorreyPines/GitHubActionsWorkflows) * Remove dev from trigger list; from now on we'll directly merge with master as package versions are on registry * Online documentation of development version will be made from master branch now.
- Loading branch information
1 parent
48d2f6e
commit e286ec0
Showing
5 changed files
with
33 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,20 @@ | ||
name: Make Docs | ||
on: | ||
pull_request: | ||
branches: ["master", "dev"] | ||
push: | ||
branches: ["master", "reuse_ci"] | ||
paths: | ||
- '.github/workflows/make_docs.yml' | ||
- 'src/**' | ||
- 'docs/**' | ||
push: | ||
branches: | ||
- master | ||
- dev | ||
- docs | ||
tags: '*' | ||
pull_request: | ||
branches: ["master"] | ||
paths: | ||
- '.github/workflows/make_docs.yml' | ||
- 'src/**' | ||
- 'docs/**' | ||
tags: '*' | ||
workflow_dispatch: | ||
|
||
permissions: | ||
actions: write | ||
contents: write | ||
statuses: write | ||
|
||
|
||
jobs: | ||
make_docs: | ||
name: Documentation | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
julia-version: [1.x] | ||
julia-arch: [x64] | ||
os: [ubuntu-latest] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: julia-actions/setup-julia@latest | ||
- uses: julia-actions/cache@v1 | ||
- name: "Add the FuseRegistry via Git" | ||
run: | | ||
julia --project=docs/ -e 'using Pkg; Pkg.Registry.add(RegistrySpec(url="https://github.com/ProjectTorreyPines/FuseRegistry.jl.git")); Pkg.Registry.add("General")' | ||
- 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 }} | ||
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} | ||
run: julia --project=docs/ docs/make.jl | ||
uses: ProjectTorreyPines/GitHubActionsWorkflows/.github/workflows/make_docs.yml@master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters