Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ANL-CEEESA/EGRIP.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
whoiszyc committed Sep 10, 2023
2 parents 758cd48 + 3232470 commit 9909958
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 3 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Documentation

on:
push:
branches:
- master
- dev
tags: '*'
pull_request:
branches:
- master

jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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 }}
run: julia --project=docs/ docs/make.jl
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
**/.idea
/ERCOT_wind
/GMLC_test_case
/docs/build
/docs/build
.vscode/
Manifest.toml
5 changes: 5 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
name = "EGRIP"
uuid = "2617631f-9c38-419e-a798-0ddd390d4e76"
authors = ["Yichen Zhang, Rui Yao, Feng Qiu"]
version = "0.1.0"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Expand Down
5 changes: 5 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

[compat]
Documenter = "0.27"
5 changes: 3 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ push!(LOAD_PATH,"../src/")

using Documenter, EGRIP

# prettyurls = get(ENV, "CI", nothing) == "true",
# prettyurls = get(ENV, "CI", nothing) == "true",

makedocs(
modules = [EGRIP],
Expand All @@ -25,4 +25,5 @@ makedocs(
]
)

# deploydocs(repo = "github.com/ANL-CEEESA/EGRIP.jl.git")
deploydocs(repo = "github.com/ANL-CEEESA/EGRIP.jl.git",
)

0 comments on commit 9909958

Please sign in to comment.