forked from jitsi/jitsi-meet
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (39 loc) · 1.32 KB
/
publish.yml
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
name: Publish to Cloudflare
on:
push:
branches: [ "main" ]
pull_request:
workflow_dispatch:
permissions:
pull-requests: read
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: Configure environment
run: |
touch .env
echo DRIVE_API_URL="https://drive.internxt.com/api" >> .env
echo DRIVE_NEW_API_URL="https://api.internxt.com/drive" >> .env
echo CRYPTO_SECRET="6KYQBP847D4ATSFA" >> .env
echo MAGIC_IV="d139cb9a2cd17092e79e1861cf9d7023" >> .env
echo MAGIC_SALT="38dce0391b49efba88dbc8c39ebf868f0267eb110bb0012ab27dc52a528d61b1d1ed9d76f400ff58e3240028442b1eab9bb84e111d9dadd997982dbde9dbd25e" >> .env
echo JITSI_APP_ID="vpaas-magic-cookie-04a19c25aaab448c9cf74516ffb5ebf2" >> .env
cat .env
- name: Build application
run: make compile deploy
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 157168a1684d7105399ec2339cf1281b
projectName: meet-web
directory: .