Skip to content

Commit

Permalink
Merge pull request #18 from una-auxme/main
Browse files Browse the repository at this point in the history
Update dev branch to main branch
  • Loading branch information
JulianTrommer authored Jul 18, 2024
2 parents 8c0dd85 + 12b7e3d commit 375ce44
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
labels:
- "dependencies"
- "github-actions"
3 changes: 2 additions & 1 deletion .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- '.github/workflows/Documentation.yml'
tags:
- '*'
workflow_dispatch:

jobs:
build:
Expand All @@ -23,7 +24,7 @@ jobs:
uses: actions/checkout@v4

- name: "Set up Julia"
uses: julia-actions/setup-julia@v1
uses: julia-actions/setup-julia@latest
with:
version: '1.10'
arch: x64
Expand Down
14 changes: 1 addition & 13 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
import Pkg; Pkg.develop(path = joinpath(@__DIR__, "../../MeshGraphNets.jl"))
using Documenter, MeshGraphNets, GraphNetCore

import Documenter: GitHubActions

makedocs(sitename = "MeshGraphNets.jl",
format = Documenter.HTML(
sidebar_sitename = false,
Expand Down Expand Up @@ -35,14 +33,4 @@ makedocs(sitename = "MeshGraphNets.jl",
]
)

function deployConfig()
github_repository = get(ENV, "GITHUB_REPOSITORY", "")
github_event_name = get(ENV, "GITHUB_EVENT_NAME", "")
if github_event_name == "workflow_run"
github_event_name = "push"
end
github_ref = get(ENV, "GITHUB_REF", "")
return GitHubActions(github_repository, github_event_name, github_ref)
end

deploydocs(repo = "github.com/una-auxme/MeshGraphNets.jl.git", devbranch = "main", versions = ["dev" => "dev", "v#.#"], deploy_config = deployConfig())
deploydocs(repo = "github.com/una-auxme/MeshGraphNets.jl.git", devbranch = "main")

0 comments on commit 375ce44

Please sign in to comment.