Fix permission issue in CI
This commit is contained in:
parent
eaf721fcea
commit
975030399f
1 changed files with 2 additions and 2 deletions
4
.github/workflows/astro.yml
vendored
4
.github/workflows/astro.yml
vendored
|
@ -67,9 +67,9 @@ jobs:
|
||||||
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
|
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
|
||||||
working-directory: ${{ env.BUILD_PATH }}
|
working-directory: ${{ env.BUILD_PATH }}
|
||||||
- name: install jpegoptim
|
- name: install jpegoptim
|
||||||
run: apt-get update -y && apt-get install -y jpegoptim
|
run: apt-get update -y && sudo apt-get install -y jpegoptim
|
||||||
- name: install oxipng
|
- name: install oxipng
|
||||||
run: wget https://github.com/shssoichiro/oxipng/releases/download/v9.1.3/oxipng_9.1.3-1_amd64.deb && apt-get install -y ./oxipng_9.1.3-1_amd64.deb && rm ./oxipng_9.1.3-1_amd64.deb
|
run: wget https://github.com/shssoichiro/oxipng/releases/download/v9.1.3/oxipng_9.1.3-1_amd64.deb && sudo apt-get install -y ./oxipng_9.1.3-1_amd64.deb && rm ./oxipng_9.1.3-1_amd64.deb
|
||||||
- name: Build with Astro
|
- name: Build with Astro
|
||||||
run: |
|
run: |
|
||||||
${{ steps.detect-package-manager.outputs.runner }} astro build \
|
${{ steps.detect-package-manager.outputs.runner }} astro build \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue