Compare commits

...

4 commits
v0.0.6 ... main

Author SHA1 Message Date
e00792fa6b
testing deployment
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-23 19:39:03 +03:30
e66a26a209
ci: fix deploy dev deploying to prod
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-23 18:10:29 +03:30
3508957c22
ci: fix quoting issues
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-23 15:13:02 +03:30
df3743c59f
ci: move deployment to ryali
Some checks failed
continuous-integration/drone/push Build is failing
2025-08-23 15:11:14 +03:30
2 changed files with 11 additions and 38 deletions

View file

@ -1,61 +1,35 @@
kind: pipeline
type: docker
name: deploy_dev
node:
environment: ryali
trigger:
branch:
- main
steps:
- name: build
- name: build and deploy
image: node:latest
commands:
- npm install
- npm run build
- name: deploy
image: byteflair/scp
commands:
- mv ./build ./dazzle_dev_staging
# Stage
- ssh -tt 'light@5.75.206.84' 'sudo rm -rf /home/light/dazzle_dev_staging'
- scp -r './dazzle_dev_staging' 'light@5.75.206.84:/home/light/'
# Move to endpoint
- ssh -tt 'light@5.75.206.84' 'sudo rm -rf /home/light/dazzle_dev/*'
- ssh -tt 'light@5.75.206.84' 'sudo mv /home/light/dazzle_dev_staging/* /home/light/dazzle_dev/'
# Remove staging
- ssh -tt 'light@5.75.206.84' 'sudo rm -rf /home/light/dazzle_dev_staging'
- rm -rf /dazzle_dev/*
- mv ./build/* /dazzle_dev/
---
kind: pipeline
type: docker
name: deploy_prod
node:
environment: ryali
trigger:
event:
- tag
steps:
- name: build
- name: build and deploy
image: node:latest
commands:
- npm install
- npm run build
- name: deploy
image: byteflair/scp
commands:
- mv ./build ./dazzle_staging
# Stage
- ssh -tt 'light@5.75.206.84' 'sudo rm -rf /home/light/dazzle_staging'
- scp -r './dazzle_staging' 'light@5.75.206.84:/home/light/'
# Move to endpoint
- ssh -tt 'light@5.75.206.84' 'sudo rm -rf /home/light/dazzle/*'
- ssh -tt 'light@5.75.206.84' 'sudo mv /home/light/dazzle_staging/* /home/light/dazzle/'
# Remove staging
- ssh -tt 'light@5.75.206.84' 'sudo rm -rf /home/light/dazzle_staging'
- rm -rf /dazzle/*
- mv ./build/* /dazzle/

View file

@ -13,10 +13,9 @@
Dazzle is an effort to <strong>solidify</strong> my understading of the complex world of
computers. and to give back to the <strong>community</strong> 💖.
<br />
Please enjoy ;)
</p>
<br />
<h2 style:padding="0">The Graphics Pipeline</h2>
<Note type="none" flow="true">
<p>