From 29781e75aadd0b99710c52529f80894ee85948c7 Mon Sep 17 00:00:00 2001 From: Bersella Date: Wed, 29 Nov 2023 18:47:19 +0800 Subject: [PATCH] Try Docker again --- .github/workflows/publish.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 656bf32..796cff4 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -13,6 +13,8 @@ jobs: deploy: runs-on: ubuntu-22.04 if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')" + container: + image: peterdavehello/opencc:latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -20,8 +22,8 @@ jobs: with: hugo-version: latest extended: true - - run: sudo apt install opencc - name: Prepare OpenCC + - run: opencc --version + name: Check OpenCC - run: ./scripts/opencc.sh name: Execute OpenCC - run: npm ci