Skip to content

Merge pull request #110 from AmbireTech/development #3

Merge pull request #110 from AmbireTech/development

Merge pull request #110 from AmbireTech/development #3

Workflow file for this run

name: Release (prod 🍩🐼)
on:
push:
branches:
- main
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: production
REACT_APP_BASE_URL: https://vhoda.adex.network/
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/ambire-brand/main/adex-logos/Ambire_AdEx_Symbol_color.svg
REACT_APP_BACKEND_BASE_URL: https://vhoda.adex.network/
REACT_APP_VALIDATOR_BASE_URL: https://scratchy.adex.network:50443
run: yarn build
- name: GH pages 404
run: cp ./build/index.html ./build/404.html
- name: Release (prod 🍩🐼)
if: github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ./build
cname: v5.adex.network
clean-exclude: |
staging