Skip to content

Commit

Permalink
change webp installation for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
skedwards88 committed May 10, 2024
1 parent 03097f1 commit ded89ba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 27 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: macos-latest # I'm not sure how to install the webp tool on ubuntu, so using mac instead
runs-on: ubuntu-latest
steps:
- name: Install webp compression tool
run: |
curl https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.3.0-mac-arm64.tar.gz | tar zvxf -
- name: Checkout
uses: actions/checkout@v4

- name: Install webp compression tool
run: sudo apt-get install -y webp

- name: Setup git config
run: |
git config --global user.name "skedwards88"
Expand Down
22 changes: 0 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"babel-loader": "^8.2.3",
"copy-webpack-plugin": "^10.2.4",
"css-loader": "^6.6.0",
"cwebp": "^3.1.0",
"eslint": "^8.11.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.6.0",
Expand Down

0 comments on commit ded89ba

Please sign in to comment.