File tree Expand file tree Collapse file tree 1 file changed +20
-19
lines changed Expand file tree Collapse file tree 1 file changed +20
-19
lines changed Original file line number Diff line number Diff line change @@ -2,32 +2,33 @@ name: Rust
2
2
3
3
on :
4
4
push :
5
- branches : [ "main" ]
5
+ branches : ["main"]
6
6
pull_request :
7
- branches : [ "main" ]
7
+ branches : ["main"]
8
8
9
9
env :
10
10
CARGO_TERM_COLOR : always
11
11
12
12
jobs :
13
13
build :
14
-
15
14
runs-on : ubuntu-latest
16
15
17
16
steps :
18
- - name : Checkout repository
19
- uses : actions/checkout@v4
20
- - name : Set up Rust
21
- uses : dtolnay/rust-toolchain@stable
22
- with :
23
- targets : wasm32-unknown-unknown
24
- toolchain : stable
25
- - name : Install Trunk
26
- run : cargo install trunk
27
- - name : Build and Deploy
28
- run : trunk build --release
29
- - name : Deploy to GitHub Pages
30
- uses : peaceiris/actions-gh-pages@v3
31
- with :
32
- github_token : ${{ secrets.GITHUB_TOKEN }}
33
- publish_dir : ./dist
17
+ - name : Checkout repository
18
+ uses : actions/checkout@v4
19
+ - name : Set up Rust
20
+ uses : dtolnay/rust-toolchain@stable
21
+ with :
22
+ targets : wasm32-unknown-unknown
23
+ toolchain : stable
24
+ - name : Install Trunk
25
+ run : cargo install trunk
26
+ - name : Build and Deploy
27
+ run : trunk build --release
28
+ # - name: Deploy to GitHub Pages
29
+ # uses: peaceiris/actions-gh-pages@v3
30
+ # with:
31
+ # github_token: ${{ secrets.GITHUB_TOKEN }}
32
+ # publish_dir: ./dist
33
+ - name : Run another action
34
+ uses : ./.github/workflows/static.yml
You can’t perform that action at this time.
0 commit comments