mirror of
https://github.com/lemeow125/EquipmentTracker-Frontend.git
synced 2024-11-16 21:59:24 +08:00
Update woodpecker.yml and add test change to landing page
This commit is contained in:
parent
8add5863b4
commit
d882a24064
2 changed files with 5 additions and 8 deletions
|
@ -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]
|
||||
|
|
|
@ -65,7 +65,7 @@ export default function LandingPage() {
|
|||
<p style={{ ...styles.text_dark, ...styles.text_L }}>
|
||||
CITC EQUIPMENT
|
||||
<br />
|
||||
TRACKER
|
||||
TRACKER TEST
|
||||
</p>
|
||||
<div style={{ ...styles.flex_column }}>
|
||||
<Button
|
||||
|
|
Loading…
Reference in a new issue