unlisted directories, deleting data folder after build
This commit is contained in:
parent
b170442e45
commit
28d155196e
3 changed files with 18 additions and 1 deletions
|
@ -17,7 +17,7 @@ deploy-site:
|
|||
|
||||
script:
|
||||
- echo "Connecting to proxmox machine"
|
||||
- ssh $DEPLOY_USER@$DEPLOY_HOST -o StrictHostKeyChecking=no IdentitiesOnly=yes "screen -X -S website-firq-npx kill; rm -r -f public/*; cd build; git reset --hard; git pull; rm -r -f node_modules; npm install; npm run build; cp -R public ~; cp serve.json ~/public; cd ~; screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json"
|
||||
- ssh $DEPLOY_USER@$DEPLOY_HOST -o StrictHostKeyChecking=no IdentitiesOnly=yes "screen -X -S website-firq-npx kill; rm -r -f public/*; cd build; git reset --hard; git pull; rm -r -f node_modules; npm install; npm run build; rm -r public/assets/data/; cp -R public ~; cp serve.json ~/public; cd ~; screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json"
|
||||
|
||||
success_notification:
|
||||
stage: notification
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"directoryListing": ["/!assets/**"],
|
||||
"headers": [
|
||||
{
|
||||
"source": "**/*.@(jpg|jpeg|gif|png|webp)",
|
||||
|
|
16
src/pages/404.astro
Normal file
16
src/pages/404.astro
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
import Layout from '../layouts/Layout.astro'
|
||||
import BaseSection from '../layouts/baseSection.astro'
|
||||
|
||||
const description = "Error. This shouldn't happen :/"
|
||||
---
|
||||
|
||||
<Layout
|
||||
title="404 - Firq FGO Site"
|
||||
currentpage="404"
|
||||
descriptionOverride={description}
|
||||
>
|
||||
<BaseSection title=":(" />
|
||||
</Layout>
|
||||
|
||||
<style></style>
|
Loading…
Reference in a new issue