-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) · 1.24 KB
/
staging.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
name: Release (staging 🧪🔬)
on:
push:
branches:
- development
permissions:
contents: write
jobs:
release:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup 🦞
uses: ./.github/actions/setup
- name: Prepare
run: yarn prepare
- name: Build 🛠️
env:
REACT_APP_ENV: staging
REACT_APP_IPFS_GATEWAY: https://ipfs.adex.network/ipfs/
REACT_APP_DAPP_NAME: "AdEx Platform"
REACT_APP_DAPP_ICON_PATH: https://raw.githubusercontent.com/AmbireTech/adex-brand/main/Logos/AdEx%20logo%20%7C%20PNG/adex_symbol_square_128px.png
REACT_APP_BACKEND_BASE_URL: https://vhoda.adex.network
REACT_APP_VALIDATOR_BASE_URL: https://scratchy.adex.network:8443
REACT_APP_IS_MANUAL_DEPOSITING: true
run: yarn build
# - name: GH pages 404
# run: cp ./build/404.html ./build/404.html
- name: Release (staging 🧪🔬)
if: github.ref == 'refs/heads/development'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ./build
cname: v5.adex.network