From d882a240642b8da8d61167c1c0b823b123bb3693 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Mon, 4 Dec 2023 20:12:41 +0800 Subject: [PATCH] Update woodpecker.yml and add test change to landing page --- .woodpecker.yml | 11 ++++------- src/Pages/LandingPage/LandingPage.tsx | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9bc4840..2dc6087 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,17 +1,14 @@ # .woodpecker.yml steps: - - name: build - image: node:18 - commands: - - npm install - - npm run build - - name: copy - image: alpine + - name: build & copy + image: node:18-alpine commands: - apk add --no-cache openssh-client - mkdir -p /root/.ssh/ - echo "$SSH_KEY" | tr -d '\r' > /root/.ssh/id_rsa - chmod 600 /root/.ssh/id_rsa - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config + - npm install + - npm run build - scp -r dist/* root@10.0.10.4:/mnt/sda1/files/projects/equipment_tracker_frontend secrets: [SSH_KEY] diff --git a/src/Pages/LandingPage/LandingPage.tsx b/src/Pages/LandingPage/LandingPage.tsx index 2381447..d844102 100644 --- a/src/Pages/LandingPage/LandingPage.tsx +++ b/src/Pages/LandingPage/LandingPage.tsx @@ -65,7 +65,7 @@ export default function LandingPage() {

CITC EQUIPMENT
- TRACKER + TRACKER TEST