ci: fix marshalling error
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
light7734 2025-08-09 11:52:18 +03:30
parent afe0e68288
commit 762811a6d7
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -7,19 +7,18 @@ trigger:
- main
steps:
- name: build
image: node:latest
commands:
- npm install
- npm run build
- name: build
image: node:latest
commands:
- npm install
- npm run build
- name: deploy
image: byteflair/scp
commands:
- |
ssh 'light@5.75.206.84' 'rm -rf /home/light/bonfire_dev/*'
mv ./build ./bonfire_dev
scp -r './bonfire_dev/' 'light@5.75.206.84:/home/light/'
- name: deploy
image: byteflair/scp
commands:
- ssh 'light@5.75.206.84' 'rm -rf /home/light/bonfire_dev/*'
- mv ./build ./bonfire_dev
- scp -r './bonfire_dev/' 'light@5.75.206.84:/home/light/'
---
kind: pipeline
@ -31,15 +30,15 @@ trigger:
- tag
steps:
- name: build
image: node:latest
commands:
- npm install
- npm run build
- name: build
image: node:latest
commands:
- npm install
- npm run build
- name: deploy
image: byteflair/scp
commands:
ssh 'light@5.75.206.84' 'rm -rf /home/light/bonfire/*'
mv ./build ./bonfire
scp -r './bonfire/' 'light@5.75.206.84:/home/light/'
- name: deploy
image: byteflair/scp
commands:
- ssh 'light@5.75.206.84' 'rm -rf /home/light/bonfire/*'
- mv ./build ./bonfire
- scp -r './bonfire/' 'light@5.75.206.84:/home/light/'