-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (40 loc) · 1.17 KB
/
aeweb_testnet.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
47
48
on:
push:
branches:
- testnet
jobs:
deploy_to_aeHosting:
runs-on: ubuntu-latest
name: A job to deploy file to aeHosting
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: '3.13.9'
- run: flutter --version
- name: Install dependencies
run: |
flutter clean
flutter pub get
- name: Check files
run: |
ls -R
- name: Build web app
run: flutter build web --web-renderer canvaskit --release
- name: Check files
run: |
ls -R
- name: Deploy to aeHosting
id: deploy
uses: archethic-foundation/[email protected]
with:
seed: ${{ secrets.ARCH_BASE_SEED }}
endpoint: "https://testnet.archethic.net"
path: "build/web"
sslCertificateFile: "certificate_aeweb_testnet.crt"
sslKey: ${{ secrets.SSL_KEY_TESTNET }}
keychainFundingService: "archethic-wallet-ARCHETHIC.NET"
keychainWebsiteService: "aeweb-AEWEB-WEBAPP"