David Li commited on
Commit
bc77a25
·
1 Parent(s): 7b2aa18

Fix: deploy deta

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yml +14 -0
.github/workflows/deploy.yml ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Deploy to Deta
2
+ on: push
3
+
4
+ jobs:
5
+ deploy:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v2 #Be sure you check-out the repo first. Deta CLI needs access to the files
9
+ - uses: BogDAAAMN/deta-deploy-action@v1.0.1
10
+ with:
11
+ deta-access-token: ${{ secrets.DETA_ACCESS_TOKEN }} #Deta access token https://docs.deta.sh/docs/cli/auth
12
+ deta-name: "stonk_list_micro" #Deta Micro name https://docs.deta.sh/docs/cli/commands/#deta-clone
13
+ # deta-project: "project-name" #Optional: Deta project name https://docs.deta.sh/docs/cli/commands/#deta-clone
14
+ # deta-project-dir: "other-dir" #Optional: directory to be deployed on Deta. Default is the root "."