Used latest OpenCC thru Docker

pull/20/head
Bersella 2023-11-29 17:36:57 +08:00
parent 12d37f6995
commit 3d28ca78d1
No known key found for this signature in database
GPG Key ID: B1D77BACEF56C7BD
1 changed files with 6 additions and 2 deletions

View File

@ -20,9 +20,13 @@ jobs:
with: with:
hugo-version: latest hugo-version: latest
extended: true extended: true
- run: sudo apt-get install opencc - uses: kohlerdominik/docker-run-action@v1
with:
image: peterdavehello/opencc:latest
volumes: ${{ github.workspace }}:/repo
workdir: /repo
run: ./scripts/opencc.sh
- run: npm ci - run: npm ci
- run: ./scripts/opencc.sh
- run: hugo --minify - run: hugo --minify
env: env:
HUGO_DISABLELANGUAGES: 'en' HUGO_DISABLELANGUAGES: 'en'