forge
Explore
Log in

Don't you dare go Hollow

fefb76ca52ca778acbfa48b78906c9564824a10aAhmet Kaan GümüşParent: aad0c72
  • ci
    • 👷 auto deploy
Show full message
ci: 👷 auto deploy
.woodpecker/deploy.yamladded+32 -0
@@ -0,0 +1,32 @@
1+when:
2+ event:
3+ - push
4+ - manual
5+ branch: main
6+
7+steps:
8+ build:
9+ image: rust
10+ environment:
11+ SSH_PRIVATE_KEY:
12+ from_secret: SSH_PRIVATE_KEY
13+ SSH_USER:
14+ from_secret: SSH_USER
15+ SSH_HOST:
16+ from_secret: SSH_HOST
17+ CARGO_PATH:
18+ from_secret: CARGO_PATH
19+ WORK_DIR:
20+ from_secret: WORK_DIR
21+ MAIN_BRANCH:
22+ from_secret: MAIN_BRANCH
23+ ARTIFACT_DIR:
24+ from_secret: ARTIFACT_DIR
25+ DEPLOY_PATH:
26+ from_secret: DEPLOY_PATH
27+ commands:
28+ - mkdir -p ~/.ssh
29+ - echo "$${SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
30+ - ssh-keyscan -H $${SSH_HOST} > ~/.ssh/known_hosts
31+ - ssh $${SSH_USER}@$${SSH_HOST} "export PATH="$${CARGO_PATH}:$PATH" && cd $${WORK_DIR} && git checkout $${MAIN_BRANCH} && git pull --rebase && dx build --release && cp -r $${ARTIFACT_DIR} $${DEPLOY_PATH} && rm -rf $${DEPLOY_PATH}/personality && mv $${DEPLOY_PATH}/public $${DEPLOY_PATH}/personality"
32+ - rm -rf ~/.ssh
Cargo.tomlmodified+2 -2
@@ -8,11 +8,11 @@ edition = "2021"
8 8
9 [dependencies]9 [dependencies]
10 10
11-dioxus = { version = "0.6.1", features = ["web", "router"] }11+dioxus = { version = "0.6.3", features = ["web", "router"] }
12 12
13 # Debug13 # Debug
14 tracing = "0.1.41"14 tracing = "0.1.41"
15-dioxus-logger = "0.6.1"15+dioxus-logger = "0.6.2"
16 16
17 [profile]17 [profile]
18 18
assets/main.cssmodified+2 -2
@@ -103,7 +103,7 @@
103 }103 }
104 104
105 body {105 body {
106- background-color: rgba(0, 0, 0, 0.85);106+ background-color: rgba(0, 0, 0, 0.98);
107 color: silver;107 color: silver;
108 }108 }
109 109
@@ -195,4 +195,4 @@ footer {
195 width: 100%;195 width: 100%;
196 position: fixed;196 position: fixed;
197 background-color: rgb(0, 0, 0, 0.9);197 background-color: rgb(0, 0, 0, 0.9);
198-}
\ No newline at end of file\ No newline at end of file
198+}
src/lib.rsmodified+1 -1
@@ -44,7 +44,7 @@ pub fn Footer() -> Element {
44 div {class:"footer_div",44 div {class:"footer_div",
45 footer{45 footer{
46 h4 {46 h4 {
47- "Developed by Tahinli with Rust + WASM without Front End Skills"47+ "Developed by Tahinli with Rust + WASM"
48 }48 }
49 }49 }
50 }50 }