Merge branch 'master' into feature

This commit is contained in:
itsscb 2024-08-30 13:01:26 +02:00
commit decdb6982a
5 changed files with 28 additions and 1041 deletions

View File

@ -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: .

View File

@ -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&#x2D;fO7RFAiJMh4fN2ckdkaRPcgeDfVEFhhROdvMfFC0&#x2B;vPMUvW4ChLKIHf2gFgdxdHo"/>
<link rel="stylesheet" href="/styles-77d352ca8ada1544.css" integrity="sha384&#x2D;TcEfMwgAp&#x2F;NQ2Vm5fC1nICxVYrNbD17D8OID3K4KgfAki5VPpBdGA&#x2B;rzb&#x2F;tRh&#x2F;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;

File diff suppressed because it is too large Load Diff