generated from edenia/webapp-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 23
54 lines (46 loc) · 1.56 KB
/
deploy.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
49
50
51
52
53
54
name: Deployment
on:
push:
tags:
- v*-beta*
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install Packages
run: yarn --frozen-lockfile
- name: Build page
run: yarn run build
- name: Set 404 page as index.html
run: cp ./build/index.html ./build/404.html
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./build
- name: Create Release
id: create_release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
env:
REACT_APP_EOS_APP_NAME: evodex.io
REACT_APP_EOS_CHAIN_ID: aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906
REACT_APP_EOS_API_HOST: api.eosio.cr
REACT_APP_EOS_API_PORT: 443
REACT_APP_EOS_API_PROTOCOL: https
REACT_APP_EOS_API_HOST_FAILOVER: api.eosargentina.io
REACT_APP_EOS_API_PORT_FAILOVER: 443
REACT_APP_EOS_API_PROTOCOL_FAILOVER: https
REACT_APP_EVODEX_API_URL: https://api.evolutiondex.io
REACT_APP_EVODEX_API_URL_FAILOVER: https://api-2.evolutiondex.io
REACT_APP_EOS_BLOCK_EXPLORER_URL: https://bloks.io
REACT_APP_VOTE_CONTRACT: wevotethefee
REACT_APP_EVODEX_CONTRACT: evolutiondex
REACT_APP_PROJECT_VERSION: ${{ github.ref }}