Skip to content

Commit 5ddb0d9

Browse files
committed
Adjust workflow back to the build-system of the new webpage.
1 parent 5ef6b91 commit 5ddb0d9

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.github/workflows/www.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,22 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v2
1313
with:
14-
submodules: true # Fetch Hugo themes (true OR recursive)
15-
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
16-
17-
- name: Setup Hugo
18-
uses: peaceiris/actions-hugo@v2
19-
with:
20-
hugo-version: '0.74.3'
21-
22-
- name: Build
23-
run: hugo --minify && echo -n enzyme.mit.edu > ./public/CNAME
14+
submodules: true
15+
16+
- name: Install dependencies
17+
run: |
18+
sudo apt-get update
19+
sudo apt-get install doxygen
20+
python3 -m venv env
21+
source env/bin/activate
22+
pip install --upgrade pip
23+
pip install -r requirements.txt
24+
25+
- name: Build docs
26+
run: |
27+
source env/bin/activate
28+
make html
29+
echo -n enzyme.mit.edu > ./build/html/CNAME
2430
2531
- name: Deploy
2632
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)