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 kind: pipeline
type: docker type: docker
name: deploy_dev name: deploy_dev
node:
environment: ryali
trigger: trigger:
branch: branch:
- main - main
steps: steps:
- name: build - name: build and deploy
image: node:latest image: node:latest
commands: commands:
- npm install - npm install
- npm run build - npm run build
- rm -rf /dazzle_dev/*
- name: deploy - mv ./build/* /dazzle_dev/
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'
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: deploy_prod name: deploy_prod
node:
environment: ryali
trigger: trigger:
event: event:
- tag - tag
steps: steps:
- name: build - name: build and deploy
image: node:latest image: node:latest
commands: commands:
- npm install - npm install
- npm run build - npm run build
- rm -rf /dazzle/*
- name: deploy - mv ./build/* /dazzle/
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'

View file

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