This repository was archived by the owner on Sep 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (40 loc) · 1.36 KB
/
release.yml
File metadata and controls
50 lines (40 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: CI
on:
push:
branches: ["master"]
permissions: write-all
jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# - name: Install Appwrite CLI Polyfill
# shell: bash
# working-directory: ./.polyfill
# run: |
# chmod +x appwrite.sh
# ./appwrite.sh
- name: Install Appwrite CLI
shell: bash
run: |
curl -sL https://appwrite.io/cli/install.sh | bash
# - name: Appwrite Version
# shell: bash
# run: |
# appwrite -v
# ls
- name: Appwrite Deployment
shell: bash
working-directory: ./functions/register
run: |
appwrite client \
--endpoint='https://panel.appwrite.io/v1' \
--projectId='kbve' \
--key='${{ secrets.APPWRITE_PANEL }}'
appwrite -v
# appwrite functions createDeployment \
# --functionId=register \
# --entrypoint='index.js' \
# --code='.' \
# --activate=true