Merge from main + Update efy submodule

This commit is contained in:
dragos-efy
2023-01-07 18:42:23 +02:00
parent 14d79e5cea
commit 2c043461ea
32 changed files with 594 additions and 380 deletions

View File

@@ -24,7 +24,7 @@ jobs:
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
app_build_command: "yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/assets/*.css"
app_build_command: "yarn build && ./localizefonts.sh"
api_location: "" # Api source code path - optional
output_location: "dist" # Built app content directory - optional
###### End of Repository/Build Configurations ######

View File

@@ -12,14 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: "yarn"
- run: yarn install --prefer-offline
- run: yarn build --out-dir dist-ci && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist-ci/assets/*.css
- run: yarn build && ./localizefonts.sh && mv dist/ dist-ci/
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:

View File

@@ -12,14 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: "yarn"
- run: yarn install --prefer-offline
- run: yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/assets/*.css && cp dist/index.html dist/ipfs-404.html
- run: yarn build && ./localizefonts.sh && cp dist/index.html dist/ipfs-404.html
- uses: aquiladev/ipfs-action@v0.3.1-alpha.2
id: ipfs-add
with: