Merge branch 'master' into feature
This commit is contained in:
commit
decdb6982a
42
.github/workflows/prod.yml
vendored
42
.github/workflows/prod.yml
vendored
@ -46,25 +46,22 @@ jobs:
|
|||||||
- name: install tailwindcss
|
- name: install tailwindcss
|
||||||
run: npm install -g tailwindcss
|
run: npm install -g tailwindcss
|
||||||
|
|
||||||
|
- name: list frontend dir (pre build) [DEBUG]
|
||||||
|
run: ls -la ./frontend/dist
|
||||||
|
|
||||||
- name: build frontend
|
- name: build frontend
|
||||||
working-directory: ./frontend/
|
working-directory: ./frontend/
|
||||||
run: |
|
run: |
|
||||||
trunk build --release
|
trunk build --release
|
||||||
|
|
||||||
- name: commit frontend release build
|
- name: list frontend dir (pre upload) [DEBUG]
|
||||||
run: |
|
run: ls -la ./frontend/dist
|
||||||
git config --global user.name "GitHub Action"
|
|
||||||
git config --global user.email "actions@github.com"
|
|
||||||
git add frontend/dist -f
|
|
||||||
git diff --staged --quiet || (git commit -m "release: frontend build ${{ github.sha }} [skip ci]" && git push)
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
# - name: upload frontend artifacts
|
- name: upload frontend artifacts
|
||||||
# uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
# with:
|
with:
|
||||||
# name: frontend-artifacts
|
name: frontend-artifacts
|
||||||
# path: ./frontend/dist
|
path: ./frontend/dist
|
||||||
|
|
||||||
- name: run tests
|
- name: run tests
|
||||||
run: |
|
run: |
|
||||||
@ -77,16 +74,21 @@ jobs:
|
|||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# - name: download frontend artifacts
|
- name: remove ./frontend/dist dir
|
||||||
# uses: actions/download-artifact@v4
|
run: |
|
||||||
# with:
|
rm -rf ./frontend/dist
|
||||||
# name: frontend-artifacts
|
|
||||||
|
|
||||||
# - name: display structure of downloaded files
|
- name: download frontend artifacts
|
||||||
# run: ls -R
|
uses: actions/download-artifact@v4
|
||||||
# working-directory: ./frontend/dist
|
with:
|
||||||
|
name: frontend-artifacts
|
||||||
|
path: ./frontend/dist
|
||||||
|
|
||||||
|
- name: List downloaded artifacts
|
||||||
|
run: ls -la ./frontend/dist
|
||||||
|
|
||||||
- uses: shuttle-hq/deploy-action@main
|
- uses: shuttle-hq/deploy-action@main
|
||||||
with:
|
with:
|
||||||
|
allow-dirty: "true"
|
||||||
deploy-key: ${{ secrets.SHUTTLE_API_KEY }}
|
deploy-key: ${{ secrets.SHUTTLE_API_KEY }}
|
||||||
working-directory: .
|
working-directory: .
|
||||||
|
12
frontend/dist/index.html
vendored
12
frontend/dist/index.html
vendored
@ -4,18 +4,18 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>wordl</title>
|
<title>wordl</title>
|
||||||
<link rel="stylesheet" href="/styles-7929273248019de5.css" integrity="sha384-fO7RFAiJMh4fN2ckdkaRPcgeDfVEFhhROdvMfFC0+vPMUvW4ChLKIHf2gFgdxdHo"/>
|
<link rel="stylesheet" href="/styles-77d352ca8ada1544.css" integrity="sha384-TcEfMwgAp/NQ2Vm5fC1nICxVYrNbD17D8OID3K4KgfAki5VPpBdGA+rzb/tRh/dP"/>
|
||||||
<!-- <link data-trunk href="./assets/favicon.ico" rel="icon" type="image/x-icon"> -->
|
<!-- <link data-trunk href="./assets/favicon.ico" rel="icon" type="image/x-icon"> -->
|
||||||
|
|
||||||
<link rel="manifest" href="public/manifest.json" />
|
<link rel="manifest" href="public/manifest.json" />
|
||||||
|
|
||||||
<link rel="modulepreload" href="/wordl-frontend-f803ac3b00276978.js" crossorigin=anonymous integrity="sha384-fpKrnlcRJVJV3IENqmeJXxjoIHhG2S/lq9xeweoOsYiSfVzfIML8wjbuc4d9yJ1h">
|
<link rel="modulepreload" href="/wordl-frontend-13f5d4b052a1434e.js" crossorigin=anonymous integrity="sha384-tVLovjz+Qu7uW8oMoQPnsy2W/wfDByzaPHxqA2c891yx6Rq16czXoVsIh9t4NJcJ">
|
||||||
<link rel="preload" href="/wordl-frontend-f803ac3b00276978_bg.wasm" crossorigin=anonymous integrity="sha384-v8+xdw83KTeHeVAEK8uKH6rJOUsUiKXnnvP0lbK9kkyBsOSCutJ32SizhR65m8Mv" as="fetch" type="application/wasm"></head>
|
<link rel="preload" href="/wordl-frontend-13f5d4b052a1434e_bg.wasm" crossorigin=anonymous integrity="sha384-s1usZtXH5zGflc3eBjnMoAKZngqWgb6KOz2sWOJbpF+B2mzXAFBicK/8xyP4rSWT" as="fetch" type="application/wasm"></head>
|
||||||
<body class="bg-black text-white">
|
<body class="bg-black text-white">
|
||||||
|
|
||||||
<script type="module" nonce="AtT5/yT9GubkTkfA2hTcIg==">
|
<script type="module" nonce="ay+H7lysco+wybA03vZVQw==">
|
||||||
import init, * as bindings from '/wordl-frontend-f803ac3b00276978.js';
|
import init, * as bindings from '/wordl-frontend-13f5d4b052a1434e.js';
|
||||||
const wasm = await init('/wordl-frontend-f803ac3b00276978_bg.wasm');
|
const wasm = await init('/wordl-frontend-13f5d4b052a1434e_bg.wasm');
|
||||||
|
|
||||||
|
|
||||||
window.wasmBindings = bindings;
|
window.wasmBindings = bindings;
|
||||||
|
1015
frontend/dist/wordl-frontend-f803ac3b00276978.js
vendored
1015
frontend/dist/wordl-frontend-f803ac3b00276978.js
vendored
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user