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
|
||||
run: npm install -g tailwindcss
|
||||
|
||||
- name: list frontend dir (pre build) [DEBUG]
|
||||
run: ls -la ./frontend/dist
|
||||
|
||||
- name: build frontend
|
||||
working-directory: ./frontend/
|
||||
run: |
|
||||
trunk build --release
|
||||
|
||||
- name: commit frontend release build
|
||||
run: |
|
||||
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: list frontend dir (pre upload) [DEBUG]
|
||||
run: ls -la ./frontend/dist
|
||||
|
||||
# - name: upload frontend artifacts
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: frontend-artifacts
|
||||
# path: ./frontend/dist
|
||||
- name: upload frontend artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: frontend-artifacts
|
||||
path: ./frontend/dist
|
||||
|
||||
- name: run tests
|
||||
run: |
|
||||
@ -77,16 +74,21 @@ jobs:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# - name: download frontend artifacts
|
||||
# uses: actions/download-artifact@v4
|
||||
# with:
|
||||
# name: frontend-artifacts
|
||||
- name: remove ./frontend/dist dir
|
||||
run: |
|
||||
rm -rf ./frontend/dist
|
||||
|
||||
# - name: display structure of downloaded files
|
||||
# run: ls -R
|
||||
# working-directory: ./frontend/dist
|
||||
- name: download frontend artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: frontend-artifacts
|
||||
path: ./frontend/dist
|
||||
|
||||
- name: List downloaded artifacts
|
||||
run: ls -la ./frontend/dist
|
||||
|
||||
- uses: shuttle-hq/deploy-action@main
|
||||
with:
|
||||
allow-dirty: "true"
|
||||
deploy-key: ${{ secrets.SHUTTLE_API_KEY }}
|
||||
working-directory: .
|
||||
|
12
frontend/dist/index.html
vendored
12
frontend/dist/index.html
vendored
@ -4,18 +4,18 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<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 rel="manifest" href="public/manifest.json" />
|
||||
|
||||
<link rel="modulepreload" href="/wordl-frontend-f803ac3b00276978.js" crossorigin=anonymous integrity="sha384-fpKrnlcRJVJV3IENqmeJXxjoIHhG2S/lq9xeweoOsYiSfVzfIML8wjbuc4d9yJ1h">
|
||||
<link rel="preload" href="/wordl-frontend-f803ac3b00276978_bg.wasm" crossorigin=anonymous integrity="sha384-v8+xdw83KTeHeVAEK8uKH6rJOUsUiKXnnvP0lbK9kkyBsOSCutJ32SizhR65m8Mv" as="fetch" type="application/wasm"></head>
|
||||
<link rel="modulepreload" href="/wordl-frontend-13f5d4b052a1434e.js" crossorigin=anonymous integrity="sha384-tVLovjz+Qu7uW8oMoQPnsy2W/wfDByzaPHxqA2c891yx6Rq16czXoVsIh9t4NJcJ">
|
||||
<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">
|
||||
|
||||
<script type="module" nonce="AtT5/yT9GubkTkfA2hTcIg==">
|
||||
import init, * as bindings from '/wordl-frontend-f803ac3b00276978.js';
|
||||
const wasm = await init('/wordl-frontend-f803ac3b00276978_bg.wasm');
|
||||
<script type="module" nonce="ay+H7lysco+wybA03vZVQw==">
|
||||
import init, * as bindings from '/wordl-frontend-13f5d4b052a1434e.js';
|
||||
const wasm = await init('/wordl-frontend-13f5d4b052a1434e_bg.wasm');
|
||||
|
||||
|
||||
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