diff --git a/.woodpecker/surge.yml b/.woodpecker/surge.yml
index 3118c96..a874fa6 100644
--- a/.woodpecker/surge.yml
+++ b/.woodpecker/surge.yml
@@ -1,13 +1,19 @@
pipeline:
- deploy:
+ build:
image: node:alpine
commands:
- npm install
- npm run build
- - npm install surge
+ when:
+ event: [push, pull_request]
+
+ deploy:
+ image: node:alpine
+ commands:
+ - npm install surge && npm audit fix
- cp dist/index.html dist/200.html
- npx surge ./dist hyperpipe.surge.sh
- secrets: [ surge_login, surge_token ]
+ secrets: [surge_login, surge_token]
when:
branch: main
- event: push
\ No newline at end of file
+ event: push
diff --git a/index.html b/index.html
index b0d491b..905769a 100644
--- a/index.html
+++ b/index.html
@@ -6,8 +6,8 @@
http-equiv="Content-Security-Policy"
content="default-src 'self'; img-src *; media-src * blob:; style-src 'unsafe-inline' 'self'; connect-src *" />
-
-
+
+
@@ -20,7 +20,9 @@
-
+
Hyperpipe
diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue
index 437b3f9..7a83f58 100644
--- a/src/components/NavBar.vue
+++ b/src/components/NavBar.vue
@@ -34,8 +34,10 @@ function set(page) {