Try Docker again

pull/20/head
Bersella 2023-11-29 18:47:19 +08:00
parent f40b21e00e
commit 29781e75aa
No known key found for this signature in database
GPG Key ID: B1D77BACEF56C7BD
1 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,8 @@ jobs:
deploy: deploy:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')" if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
container:
image: peterdavehello/opencc:latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -20,8 +22,8 @@ jobs:
with: with:
hugo-version: latest hugo-version: latest
extended: true extended: true
- run: sudo apt install opencc - run: opencc --version
name: Prepare OpenCC name: Check OpenCC
- run: ./scripts/opencc.sh - run: ./scripts/opencc.sh
name: Execute OpenCC name: Execute OpenCC
- run: npm ci - run: npm ci