-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (30 loc) · 836 Bytes
/
Deploy.yml
File metadata and controls
31 lines (30 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: "Aggregate"
on:
push:
branches:
- "main"
schedule:
- cron: "0 0 * * *"
workflow_dispatch: ~
jobs:
aggregate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v6"
- uses: "julia-actions/setup-julia@v2"
with:
version: "1"
- name: "Install dependencies"
run: |-
julia --project=docs/ -e '
import Pkg
Pkg.Registry.add("General")
Pkg.Registry.add(Pkg.RegistrySpec(; url="https://github.com/ITensor/ITensorRegistry.git"))
Pkg.develop(path=".")
Pkg.instantiate()
'
- name: "Aggregate and deploy"
run: |
git config user.name github-actions
git config user.email github-actions@github.com
julia --project=docs/ docs/make.jl deploy