Skip to content

Commit

Permalink
Added support for image based on selected branch
Browse files Browse the repository at this point in the history
  • Loading branch information
dolsysmith authored May 17, 2024
1 parent 21b4452 commit 146f3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: |
mkdir ${{ github.workspace }}/builds
sudo chown -R 1000 ${{ github.workspace }}/builds
docker run --volume="${{ github.workspace }}/builds:/srv/dest" --volume="${{ github.workspace }}/${{ inputs.sourceSite }}:/srv/source" --volume="jekyll-cache:/srv/source/.jekyll-cache" -e JEKYLL_ENV=production ghcr.io/gwu-libraries/jekyll-journals-builder:pp-v31 jekyll build --trace -s /srv/source -d /srv/dest
docker run --volume="${{ github.workspace }}/builds:/srv/dest" --volume="${{ github.workspace }}/${{ inputs.sourceSite }}:/srv/source" --volume="jekyll-cache:/srv/source/.jekyll-cache" -e JEKYLL_ENV=production ghcr.io/gwu-libraries/jekyll-journals-builder:${{ sourceBranch }} jekyll build --trace -s /srv/source -d /srv/dest
sudo cp ${{ github.workspace }}/builds/issues/volume_${{ inputs.indexVolume }}.html ${{ github.workspace }}/builds/index.html
- name: Upload artifact
Expand Down

0 comments on commit 146f3de

Please sign in to comment.