diff --git a/.github/workflows/publishImage.yml b/.github/workflows/publishImage.yml index cc95914b..246d5304 100644 --- a/.github/workflows/publishImage.yml +++ b/.github/workflows/publishImage.yml @@ -7,8 +7,8 @@ on: tags: - "*.*.*" paths-ignore: - - docs.md - - README.md + - '**/*.md' + - 'docs/**' jobs: push_to_registry: name: Push Docker image to Docker Hub diff --git a/docs/deployment.md b/docs/deployment.md index 3ded4068..b25b792c 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -22,8 +22,8 @@ Make sure you have the following installed: ```shell npm i -npm run build #build the frontend -npm run configure #build the backend +npm run build +npm run configure npm run prod ``` @@ -60,6 +60,7 @@ mkdir database mkdir config curl -o config/site.yaml https://raw.githubusercontent.com/rajnandan1/kener/refs/heads/main/config/site.example.yaml curl -o config/monitors.yaml https://raw.githubusercontent.com/rajnandan1/kener/refs/heads/main/config/monitors.example.yaml +curl -o config/server.yaml https://raw.githubusercontent.com/rajnandan1/kener/refs/heads/main/config/server.example.yaml docker run \ -v $(pwd)/database:/app/database \ -v $(pwd)/config:/app/config \ diff --git a/src/lib/components/monitor.svelte b/src/lib/components/monitor.svelte index 7f6f0988..df65dd9a 100644 --- a/src/lib/components/monitor.svelte +++ b/src/lib/components/monitor.svelte @@ -144,7 +144,7 @@ loadingDayData = true; setTimeout(() => { getToday(bar.timestamp); - }, 1000); + }, 750); }