Skip to content

Commit af8d2a6

Browse files
committed
Base level app is created
- Now we need to integrate Open Meteo
1 parent 31749bb commit af8d2a6

9 files changed

Lines changed: 1052 additions & 141 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
6+
workflow_dispatch:
67

78
permissions:
89
contents: read
@@ -16,17 +17,22 @@ concurrency:
1617
jobs:
1718
build:
1819
runs-on: ubuntu-latest
20+
defaults:
21+
run:
22+
working-directory: weather
1923
steps:
2024
- uses: actions/checkout@v4
2125
- uses: actions/setup-node@v4
2226
with:
2327
node-version: 20
2428
cache: npm
29+
cache-dependency-path: weather/package-lock.json
30+
- uses: actions/configure-pages@v5
2531
- run: npm ci
2632
- run: npm run build
2733
- uses: actions/upload-pages-artifact@v3
2834
with:
29-
path: dist
35+
path: weather/dist
3036

3137
deploy:
3238
environment:
@@ -36,4 +42,4 @@ jobs:
3642
needs: build
3743
steps:
3844
- id: deployment
39-
uses: actions/deploy-pages@v4
45+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)