add deploy task
This commit is contained in:
parent
2eda5a388e
commit
0cae4d22c9
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ vite.config.js.timestamp-*
|
||||
vite.config.ts.timestamp-*
|
||||
pnpm-lock.yaml
|
||||
.npmrc
|
||||
dist
|
||||
|
@ -8,6 +8,10 @@ vars:
|
||||
sh: git diff-ls --diff-filter=d main | grep -v .eslintignore
|
||||
|
||||
tasks:
|
||||
deploy:
|
||||
deps: [build]
|
||||
cmds:
|
||||
- rsync -av ./dist/ 192.168.0.100:/home/sky
|
||||
build: vite build
|
||||
dev: vite
|
||||
test: vitest run src
|
||||
|
@ -5,6 +5,12 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Under Falling Skies</title>
|
||||
<script
|
||||
async
|
||||
defer
|
||||
data-website-id="951f0e25-5463-43a3-839e-eb3452488dca"
|
||||
src="https://umami.babyl.ca/umami.js"
|
||||
></script>
|
||||
<script>
|
||||
var global = global === undefined ? window : global;
|
||||
</script>
|
||||
|
@ -8,6 +8,13 @@
|
||||
</header>
|
||||
|
||||
<article>
|
||||
{#if !$campaigns || $campaigns.length === 0}
|
||||
<div class="fill medium-height middle-align center-align">
|
||||
<div class="center-align">
|
||||
<h5>No campaign created yet</h5>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{#each $campaigns as campaign (campaign._id)}
|
||||
<div class="row">
|
||||
<i class="light-green-text">south_america</i>
|
||||
|
Loading…
Reference in New Issue
Block a user