Skip to content

Commit 80d0f0c

Browse files
authored
Update deploy.yml
1 parent 0db56e7 commit 80d0f0c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@ jobs:
1515
- name: Build the site in the jekyll/builder container
1616
run: |
1717
rm ${{ github.workspace }}/_publications/template
18-
mkdir ${{ github.workspace }}/_site
1918
docker run \
2019
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site2:/srv/jekyll/_site \
2120
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
2221
cp -r ${{ github.workspace }}/_site2 ${{ github.workspace }}/_site
22+
- uses: actions/upload-artifact@v2
23+
name: Upload intermmediate
24+
with:
25+
name: site
26+
path: ${{ github.workspace }}/_site/
2327
- name: Setup Python
2428
uses: actions/setup-python@v2
2529
with:
@@ -30,10 +34,6 @@ jobs:
3034
python -m pip install transformers sklearn numpy
3135
python -m pip install torch==1.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
3236
python ${{ github.workspace }}/etc/compute_embeddings.py ${{ github.workspace }}/_site/paper-abstracts.json ${{ github.workspace }}/_site/tsne.json
33-
- uses: actions/upload-artifact@v2
34-
with:
35-
name: site
36-
path: ${{ github.workspace }}/_site/
3737
- name: Deploy
3838
uses: peaceiris/actions-gh-pages@v3
3939
with:

0 commit comments

Comments
 (0)