Skip to content

Commit 008df0a

Browse files
committed
add workflow
1 parent bd504ef commit 008df0a

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/action.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
name: Shuttle Deploy
22

33
on:
4-
schedule:
5-
- cron: "0 0 */28 * *"
4+
push:
5+
branches:
6+
- main
67
workflow_dispatch:
78

89
jobs:
910
deploy:
1011
runs-on: ubuntu-latest
11-
defaults:
12-
run:
13-
shell: bash
14-
working-directory: axum-react-chat-app
1512
steps:
16-
- uses: actions/checkout@v4
1713
- uses: shuttle-hq/deploy-action@v2
1814
with:
1915
shuttle-api-key: ${{ secrets.SHUTTLE_API_KEY }}
20-
project-id: proj_01JF90BSDEENEZS33SYZT735GR
16+
project-id: proj_0123456789
17+
working-directory: "axum-react-chat-app"
18+
cargo-shuttle-version: "0.48.1"
19+
extra-args: --allow-dirty --debug

0 commit comments

Comments
 (0)