From 3b4336868ca57b60f9b054a37127187345a408c8 Mon Sep 17 00:00:00 2001 From: Koen Schellingerhout Date: Tue, 28 May 2024 08:58:39 +0200 Subject: [PATCH] Custom gh pages deployment --- .github/workflows/pages.yaml | 39 +++++ docs/index-aYNptdGO.css | 1 - docs/index.html | 321 ----------------------------------- docs/picture-B3hpVOwW.png | Bin 6203 -> 0 bytes package.json | 2 +- static/index.html | 17 +- static/vite.config.ts | 2 +- 7 files changed, 50 insertions(+), 332 deletions(-) create mode 100644 .github/workflows/pages.yaml delete mode 100644 docs/index-aYNptdGO.css delete mode 100644 docs/index.html delete mode 100644 docs/picture-B3hpVOwW.png diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml new file mode 100644 index 0000000..8f10721 --- /dev/null +++ b/.github/workflows/pages.yaml @@ -0,0 +1,39 @@ +name: Deploy static content to Pages + +on: + push: + branches: ['gh-pages'] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: 'pages' + cancel-in-progress: false + +jobs: + deploy: + # environment: + # name: github-pages + # url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18 + cache: 'npm' + - run: npm ci + - run: npm run build --outDir=../_site/dist + - run: npm run static:build + - uses: actions/configure-pages@v5 + - uses: actions/upload-pages-artifact@v3 + # with: + # pages: '_site' + - uses: actions/deploy-pages@v4 + id: deployment diff --git a/docs/index-aYNptdGO.css b/docs/index-aYNptdGO.css deleted file mode 100644 index 9c9dfd6..0000000 --- a/docs/index-aYNptdGO.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.\!visible{visibility:visible!important}.mx-auto{margin-left:auto;margin-right:auto}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-video{aspect-ratio:16 / 9}.h-10{height:2.5rem}.w-full{width:100%}.max-w-5xl{max-width:64rem}.max-w-\[600px\]{max-width:600px}.max-w-\[900px\]{max-width:900px}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.object-cover{-o-object-fit:cover;object-fit:cover}.object-center{-o-object-position:center;object-position:center}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-12{padding-top:3rem;padding-bottom:3rem}.text-center{text-align:center}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.tracking-tighter{letter-spacing:-.05em}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.\!opacity-100{opacity:1!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-300{transition-duration:.3s}:root{--font-ibm_plex_sans: "IBM Plex Sans", sans-serif}body,h1,h2,h3,h4,h5,h6{font-family:var(--font-ibm_plex_sans)}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-900\/90:hover{background-color:#111827e6}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-gray-950:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(3 7 18 / var(--tw-ring-opacity))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width: 400px){.min-\[400px\]\:flex-row{flex-direction:row}}@media (min-width: 640px){.sm\:w-full{width:100%}.sm\:text-5xl{font-size:3rem;line-height:1}}@media (min-width: 768px){.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:py-24{padding-top:6rem;padding-bottom:6rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\:text-xl\/relaxed{font-size:1.25rem;line-height:1.625}}@media (min-width: 1024px){.lg\:order-last{order:9999}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-\[1fr_500px\]{grid-template-columns:1fr 500px}.lg\:gap-12{gap:3rem}.lg\:py-32{padding-top:8rem;padding-bottom:8rem}.lg\:text-base\/relaxed{font-size:1rem;line-height:1.625}}@media (min-width: 1280px){.xl\:grid-cols-\[1fr_600px\]{grid-template-columns:1fr 600px}.xl\:py-48{padding-top:12rem;padding-bottom:12rem}.xl\:text-6xl\/none{font-size:3.75rem;line-height:1}.xl\:text-xl\/relaxed{font-size:1.25rem;line-height:1.625}}.dark\:border-gray-800:where(.dark,.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\:bg-gray-50:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.dark\:bg-gray-800:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:bg-gray-950:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.dark\:text-gray-400:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-gray-900:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.dark\:hover\:bg-gray-50\/90:hover:where(.dark,.dark *){background-color:#f9fafbe6}.dark\:hover\:bg-gray-800:hover:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:hover\:text-gray-50:hover:where(.dark,.dark *){--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.dark\:focus-visible\:ring-gray-300:focus-visible:where(.dark,.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))} diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index e7fb6a0..0000000 --- a/docs/index.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - - Spaced - - - - - - - - - diff --git a/docs/picture-B3hpVOwW.png b/docs/picture-B3hpVOwW.png deleted file mode 100644 index 597e7e8363d6a7ef8c4931f36638eb85fb271d1b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6203 zcmd5>dpwi-A4jeUi()cbC6`=N(Q+8&geDx3Yi%y2j*1AW42{a^LXB-Pmx?;&GNlOF zjLJdbNFmj78I|Qe*Nxw^=W$-==lssk>vuWT`Oov+^L_UIeBSTR`}=+--qGG#X7P%} zLPA0^wl-EyLP8=MLPEmElH$OM%b>f3kPuwN*2>cP_}$o6-`4h))v~(D(#CUYG6jva6Rmf@)~! zEgMmrR*snZcq=e{^U>=FRB)CR!#=}&&ndY@A&!d|iF12zqHs9b*P?fo{Jp!oYltSA znwoWwA6soCCt=9?%UM+wh-LoQCU1Mo!kd-kLMm{y9$a_x?Oi5S@m8yZMMNcGNDJf- z7KXNuU#19w*R5&MxO=7sFTs!AH%jH^0{|$`B=tYV`F2dfx(H1<5yEs*1dS~VxPBn2PtSZ zC2KgqK3ed7XFPGCp`n8v>>O8Gf1hgF)vMZER#Q_`QTuYcG48=2Ul0cFq3G`2yKA4E zSCSwf9UIA^hZvcdxRS_ZF(N-U+!MNoB9zTFDjLNUFubw-A07QN z$9+mJx5rB!x6io};R`f7L#e(pO(smmPA!rXKm4H!y|?Eb-=-um_($9+J~x1Uk`+Ad(yw58t-W0!mXm29C_1P1aFmRh(8_H7UwRzx=6eyGt%s+;?%x^RNQa}JAvGE zsMU0qHS3~}JrN4C`Q$32HI6p)REz2?XZJi$We>PAV2d?3Q4nbSsdgV+RJFR*t#cq{ z2>TctLuF-Uy_GY+RM$==*RfNvvu91W@152-q4f+Hqm`r%DY_dSMBu6ng z6K3~oxmR^8d?Lc=yiS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>HoA=KuKq61xk8M0e?pP9JHX4Vp(2aEl4jg!vFfxAc%T@ l^3w1pQSaNmG|VU++M994Fn^K>{8K>4_IrD){H?gt{{VH{1Bd_s diff --git a/package.json b/package.json index 27aa8c0..db35009 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "services": "srcs/scripts/start.sh", "sqlx:prepare": "srcs/scripts/sqlx_prepare.sh", "static": "cd static && vite", - "static:build": "cd static && vite build && sed -i 's|/index-aYNptdGO.css|index-aYNptdGO.css|g' ../docs/index.html", + "static:build": "cd static && vite build --outDir=../_site/", "tauri": "tauri" }, "lint-staged": { diff --git a/static/index.html b/static/index.html index 9dc42f9..5510649 100644 --- a/static/index.html +++ b/static/index.html @@ -55,13 +55,14 @@ - Spaced App + + Spaced App @@ -97,7 +98,7 @@

alt="Spaced Features" class="mx-auto aspect-video overflow-hidden rounded-xl object-cover object-center sm:w-full lg:order-last" height="310" - src="/picture.png" + src="picture.png" width="550" />
diff --git a/static/vite.config.ts b/static/vite.config.ts index 396d3f0..7d1b1d4 100644 --- a/static/vite.config.ts +++ b/static/vite.config.ts @@ -2,13 +2,13 @@ import { defineConfig } from 'vite'; export default defineConfig(async () => ({ root: '.', + base: 'spaced', server: { port: 1421, strictPort: true, }, build: { target: 'esnext', - outDir: '../docs', assetsDir: '.', }, }));