Skip to content

Commit c623f94

Browse files
committed
fix: remove test
1 parent 088c20a commit c623f94

File tree

1 file changed

+2
-30
lines changed

1 file changed

+2
-30
lines changed

.github/workflows/nduloweb.yml

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,6 @@ on:
1010
branches: ["main"]
1111

1212
jobs:
13-
test:
14-
name: Test & Lint Rust
15-
runs-on: ubuntu-latest
16-
17-
steps:
18-
- name: Checkout code
19-
uses: actions/checkout@v4
20-
21-
- name: Setup Rust
22-
uses: dtolnay/rust-toolchain@stable
23-
with:
24-
components: rustfmt, clippy
25-
26-
- name: Cache Rust dependencies
27-
uses: actions/cache@v3
28-
with:
29-
path: |
30-
~/.cargo/bin/
31-
~/.cargo/registry/index/
32-
~/.cargo/registry/cache/
33-
~/.cargo/git/db/
34-
target/
35-
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
36-
restore-keys: |
37-
${{ runner.os }}-cargo-
38-
39-
- name: Build release
40-
run: cargo build --release
41-
4213
deploy:
4314
name: Deploy to VPS
4415
runs-on: ubuntu-latest
@@ -68,7 +39,7 @@ jobs:
6839
if [ ! -d "$REPO_PATH" ]; then
6940
echo "Repository not found, cloning..."
7041
cd /home/edgar/work
71-
git clone https://github.com/ndulomk/nduloWeb.Vol2-made-by-ndulo.git nduloweb
42+
git clone https://github.com/ndulomk/NduloWeb.vol2.git nduloweb
7243
fi
7344
7445
cd "$REPO_PATH"
@@ -83,6 +54,7 @@ jobs:
8354
8455
echo "Build completed!"
8556
57+
# Restart com PM2
8658
echo "Restarting application with PM2..."
8759
pm2 delete $PM2_APP_NAME --silent || true
8860

0 commit comments

Comments
 (0)