diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ed2a109..d39576d9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,9 +15,9 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2.5.1 with: - cache: 'yarn' + cache: "yarn" - run: yarn install --prefer-offline - - run: yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/css/*.css + - run: yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/assets/*.css - uses: aquiladev/ipfs-action@v0.1.6 id: ipfs-add with: diff --git a/Dockerfile b/Dockerfile index 8150f771..b7889ded 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN yarn install --prefer-offline COPY . . -RUN yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/css/*.css +RUN yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/assets/*.css FROM nginx:alpine