Skip to content

Commit

Permalink
Fixed deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanHimmlisch committed Sep 28, 2024
1 parent 5a1a26f commit 3771265
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ jobs:

- name: Run npm build
run: npm run build

- name: Copying build output
run: |
mkdir -p _site
cp -r dist/* _site/
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll \
-v ${{ github.workspace }}/dist:/srv/jekyll/dist \
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --destination /srv/jekyll/dist --future"
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"

0 comments on commit 3771265

Please sign in to comment.