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 8523078 commit 5a1a26f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,10 @@ jobs:

- name: Run npm build
run: npm run build

- name: Copying build output
run: |
mkdir -p _site
ls -la
cp -r build/* _site/

- name: Build the site in the jekyll/builder container
run: |
docker run \
-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"
-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"

0 comments on commit 5a1a26f

Please sign in to comment.