Skip to content

Commit ee178ea

Browse files
Add deploy action (#17)
* test * fix * fix2 * try removing options * fix * fix * add deploy action * undo test change
1 parent 87bdd27 commit ee178ea

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

.github/workflows/deploy.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Deploy site
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v3
12+
- name: Deploy
13+
uses: JamesIves/github-pages-deploy-action@v4
14+
with:
15+
branch: gh-pages
16+
folder: docs
17+
clean-exclude: pr-preview/

.github/workflows/preview.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- reopened
88
- synchronize
99
- closed
10+
11+
permissions:
12+
contents: read
13+
1014
jobs:
1115
deploy-preview:
1216
runs-on: ubuntu-latest
@@ -18,6 +22,5 @@ jobs:
1822
- uses: rossjrw/pr-preview-action@v1
1923
with:
2024
source-dir: docs
21-
preview-branch: main
22-
umbrella-dir: docs/pr-preview
25+
preview-branch: gh-pages
2326
pages-base-path: docs

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ <h1 class="title">Home</h1>
180180

181181
<!-- Classic Text -->
182182
<div class="classictext">
183-
The Aramis Lab brings together methodological researchers (computer scientists, applied mathematics) and medical experts (neurology, medical imaging) to build numerical models of brain diseases
183+
The Aramis Lab brings together methodological researchers (computer scientists, applied mathematics) and medical experts (neurology, medical imaging) to build numerical models of brain diseases
184184
from multimodal patient data: medical imaging, clinical data and genomic data.
185185
</div><p>&nbsp;</p>
186186
<div class="classictext">

0 commit comments

Comments
 (0)