Skip to content

Commit ebd3b11

Browse files
Compile and generate zip
1 parent 960d0c3 commit ebd3b11

2 files changed

Lines changed: 9 additions & 20 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
name: Compile and Deploy Jekyll Website
1+
name: Compile and Archive Jekyll Website
22

33
on:
44
push:
55
branches:
6-
- deploy
76
- master
87

98
jobs:
10-
build-and-deploy:
9+
build-and-archive:
1110
runs-on: ubuntu-latest
1211

1312
steps:
@@ -25,19 +24,9 @@ jobs:
2524
bundle install
2625
JEKYLL_ENV=production bundle exec jekyll build
2726
28-
- name: Install lftp
29-
run: sudo apt-get update && sudo apt-get install -y lftp
30-
31-
- name: Deploy
32-
env:
33-
PASSWORD: ${{ secrets.SERVER_PASSWORD }}
34-
HOST: ${{ secrets.SERVER_HOST }}
35-
USERNAME: ${{ secrets.SERVER_USERNAME }}
36-
PORT: ${{ secrets.SERVER_PORT }}
37-
TARGET: ${{ secrets.SERVER_TARGET_PATH }}
38-
run: |
39-
ssh -v -o ConnectTimeout=5 -p $PORT $USERNAME@$HOST
40-
lftp -u $USERNAME,"$PASSWORD" sftp://$HOST:$PORT -e "
41-
set sftp:auto-confirm yes;
42-
mirror -R -v --delete _site/ $TARGET;
43-
quit"
27+
- name: Upload Zipped Artifact
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: jekyll-compiled-site
31+
path: _site/
32+
compression-level: 9

people.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: People
1010
<div class="col-3">
1111
<figure class="figure">
1212
<img src="{{ "/assets/img/people/pellegrini.jpg" | relative_url }}" class="figure-img img-fluid rounded" alt="People">
13-
<figcaption class="figure-caption text-left">Alessandro Pellegrini <br/>Tenure-Track Assistant Professor <br/>Lab Head</figcaption>
13+
<figcaption class="figure-caption text-left">Alessandro Pellegrini <br/>Associate Professor <br/>Lab Head</figcaption>
1414
</figure>
1515
</div>
1616

0 commit comments

Comments
 (0)