Skip to content

Commit 641ca39

Browse files
committed
fix: line removed
1 parent a526871 commit 641ca39

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

.github/workflows/nduloweb.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,39 +10,9 @@ 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
45-
needs: test
4616
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
4717

4818
steps:
@@ -83,7 +53,6 @@ jobs:
8353
8454
echo "Build completed!"
8555
86-
# Restart com PM2
8756
echo "Restarting application with PM2..."
8857
pm2 delete $PM2_APP_NAME --silent || true
8958

0 commit comments

Comments
 (0)