Skip to content

Commit

Permalink
ci: add missing dependency in workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Harry Chen <[email protected]>
  • Loading branch information
Harry-Chen committed Apr 27, 2024
1 parent b8900d3 commit e34122f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- name: Build the site in the tunathu/mirror-web container
run: |
echo "Working on ref ${{github.ref}}"
docker run --user "$(id -u):$(id -g)" --env NODE_ENV=production --env HOME=/tmp -v ${{ github.workspace }}:/data tunathu/mirror-web:latest npm ci
docker run --user "$(id -u):$(id -g)" --env JEKYLL_ENV="production" --env VISUALIZER="true" -v ${{ github.workspace }}:/data tunathu/mirror-web:latest jekyll build --future
docker run --user "$(id -u):$(id -g)" --env NODE_ENV=production --env HOME=/tmp -v ${{ github.workspace }}:/data tunathu/mirror-web:latest sh -c "npm ci; npm i rollup-plugin-visualizer"
docker run --user "$(id -u):$(id -g)" --env JEKYLL_ENV=production --env VISUALIZER=true -v ${{ github.workspace }}:/data tunathu/mirror-web:latest jekyll build --future
- name: Upload artifacts
if: ${{ github.ref == 'refs/heads/master' }}
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit e34122f

Please sign in to comment.