Skip to content

Commit 1a1d223

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

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ jobs:
1515
- name: Build the site in the jekyll/builder container
1616
run: |
1717
rm ${{ github.workspace }}/_publications/template
18-
docker run \
19-
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site2:/srv/jekyll/_site \
20-
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
21-
cp -r ${{ github.workspace }}/_site2 ${{ github.workspace }}/_site
18+
docker run -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site2:/srv/jekyll/_site jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
19+
mkdir ${{ github.workspace }}/_site
20+
cp -r ${{ github.workspace }}/_site2/* ${{ github.workspace }}/_site/
2221
- uses: actions/upload-artifact@v2
2322
name: Upload intermmediate
2423
with:

0 commit comments

Comments
 (0)