Skip to content

Commit fb60f5d

Browse files
committed
fix: remove surrealdb migrations
1 parent c5fbc95 commit fb60f5d

1 file changed

Lines changed: 18 additions & 30 deletions

File tree

.github/workflows/rust.yml

Lines changed: 18 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,30 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66

77
env:
88
CARGO_TERM_COLOR: always
99

1010
jobs:
1111
build:
12-
1312
runs-on: ubuntu-latest
1413

1514
steps:
16-
- uses: actions/checkout@v4
17-
- uses: dtolnay/rust-toolchain@nightly
18-
19-
- name: Version
20-
run: cargo --version --verbose
21-
22-
- name: Build
23-
run: cargo build --verbose
24-
25-
- name: Run tests
26-
run: cargo test --verbose
27-
28-
- name: Apply migrations
29-
uses: Odonno/surrealdb-migrations-action@v0.2.0
30-
with:
31-
address: ${{ secrets.SURREAL_ADDRESS }}
32-
ns: ${{ secrets.SURREAL_NS }}
33-
db: ${{ secrets.SURREAL_DB }}
34-
username: ${{ secrets.SURREAL_USERNAME }}
35-
password: ${{ secrets.SURREAL_PASSWORD }}
36-
version: v2.0.0-preview.1
37-
skip-untracked-files: true
38-
39-
- name: Deploy to DigitalOcean
40-
uses: digitalocean/app_action@v1 # switch to v2 after https://github.com/digitalocean/app_action/issues/123
41-
with:
42-
app_name: blog
43-
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
15+
- uses: actions/checkout@v4
16+
- uses: dtolnay/rust-toolchain@nightly
17+
18+
- name: Version
19+
run: cargo --version --verbose
20+
21+
- name: Build
22+
run: cargo build --verbose
23+
24+
- name: Run tests
25+
run: cargo test --verbose
26+
27+
- name: Deploy to DigitalOcean
28+
uses: digitalocean/app_action@v1 # switch to v2 after https://github.com/digitalocean/app_action/issues/123
29+
with:
30+
app_name: blog
31+
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)