Skip to content

Commit fd03a90

Browse files
committed
initial commit
0 parents  commit fd03a90

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+4413
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: 20
15+
cache: 'npm'
16+
- name: Install dependencies
17+
run: npm install
18+
- name: Build
19+
env:
20+
NODE_ENV: production
21+
run: npm run build
22+
- name: Commit the build dir
23+
run: |
24+
cd build
25+
git init
26+
git add -A
27+
git config --local user.email "action@github.com"
28+
git config --local user.name "GitHub Action"
29+
git commit -m 'deploy' -a || true
30+
- name: Push changes to gh-pages
31+
uses: ad-m/github-push-action@master
32+
with:
33+
branch: gh-pages
34+
directory: build
35+
force: true
36+
github_token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
node_modules
2+
3+
# Output
4+
.output
5+
.vercel
6+
.netlify
7+
.wrangler
8+
/.svelte-kit
9+
/build
10+
11+
# OS
12+
.DS_Store
13+
Thumbs.db
14+
15+
# Env
16+
.env
17+
.env.*
18+
!.env.example
19+
!.env.test
20+
21+
# Vite
22+
vite.config.js.timestamp-*
23+
vite.config.ts.timestamp-*

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# BSEC Weather Station Dashboard
2+

jsconfig.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "./.svelte-kit/tsconfig.json",
3+
"compilerOptions": {
4+
"allowJs": true,
5+
"checkJs": false,
6+
"moduleResolution": "bundler"
7+
}
8+
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
9+
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
10+
//
11+
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
12+
// from the referenced tsconfig.json - TypeScript does not merge them in
13+
}

0 commit comments

Comments
 (0)