mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fix docker and ci for Vite.
This commit is contained in:
parent
247a4371ba
commit
ce4be5d217
2 changed files with 3 additions and 3 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue