Skip to content

Commit

Permalink
Changed directory for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dolsysmith authored Apr 3, 2024
1 parent 500d8c3 commit 1a0c1e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ jobs:
# Retrieve our modified Jekyll image from GHCR
- name: Build site inside Docker container
run: |
mkdir ${PWD}/builds
docker run --volume="${PWD}/builds:/srv/dest" --volume="${PWD}/${{ inputs.sourceSite }}:/srv/source" --volume="jekyll-cache:/srv/source/.jekyll-cache" -e JEKYLL_ENV=production ghcr.io/gwu-libraries/jekyll-journals-builder:main jekyll build -s /srv/source -d /srv/dest
mkdir ${{ github.workspace }}/builds
ls -lah
docker run --volume="${{ github.workspace }}/builds:/srv/dest" --volume="${PWD}/${{ inputs.sourceSite }}:/srv/source" --volume="jekyll-cache:/srv/source/.jekyll-cache" -e JEKYLL_ENV=production ghcr.io/gwu-libraries/jekyll-journals-builder:main jekyll build -s /srv/source -d /srv/dest
# - name: Setup Pages
# id: pages
Expand Down

0 comments on commit 1a0c1e8

Please sign in to comment.