Merge branch 'main' of

This commit is contained in:
Joabutt committed 2022-11-24 23:46:49 +08:00
commit 0dab2d40a1
1 file changed
+21
+21
View File
@@ -0,0 +1,21 @@
name: Deploy to Deta
on:
pull_request_target:
types:
- closed
jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 #Be sure you check-out the repo first. Deta CLI needs access to the files
- uses: BogDAAAMN/deta-deploy-action@v1.0.1
with:
deta-access-token: ${{ secrets.DETA_TOKEN }} #Deta access token https://docs.deta.sh/docs/cli/auth
deta-name: 'api' #Deta Micro name https://docs.deta.sh/docs/cli/commands/#deta-clone
deta-project-dir: '.' #Optional: directory to be deployed on Deta. Default is the root "."
- uses: wei/curl@master
with:
args: https://api.is-really.cool/addnew