Commit 8f4825c0 authored by Ian Lapham's avatar Ian Lapham Committed by GitHub

Update with secrets

parent b9b17dc1
...@@ -8,7 +8,7 @@ name: Build and Release ...@@ -8,7 +8,7 @@ name: Build and Release
jobs: jobs:
build: build:
name: Gloabl Job name: Global Job
strategy: strategy:
matrix: matrix:
node: ['10.x'] node: ['10.x']
...@@ -17,13 +17,17 @@ jobs: ...@@ -17,13 +17,17 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@master uses: actions/checkout@master
- name: Create production build - uses: actions/setup-node@master
uses: actions/setup-node@master
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
- run: npm install -g yarn - run: npm install -g yarn
- run: yarn - run: yarn
- run: yarn build - run: yarn build
env:
REACT_APP_FORTMATIC_KEY: ${{ secrets.REACT_APP_FORTMATIC_KEY }}
REACT_APP_NETWORK_ID: ${{ secrets.REACT_APP_NETWORK_ID }}
REACT_APP_NETWORK_URL: ${{ secrets.REACT_APP_NETWORK_URL }}
REACT_APP_PORTIS_ID: ${{ secrets.REACT_APP_PORTIS_ID }}
- name: Create Release - name: Create Release
id: create_release id: create_release
uses: actions/create-release@v1.0.0 uses: actions/create-release@v1.0.0
...@@ -43,7 +47,7 @@ jobs: ...@@ -43,7 +47,7 @@ jobs:
- uses: 'finnp/create-file-action@master' - uses: 'finnp/create-file-action@master'
env: env:
FILE_NAME: 'README.md' FILE_NAME: 'README.md'
FILE_DATA: "#How To Run Uniswap\n1. Download build.zip and unzip\n2. In terminal navigate to that directory\n3. Run these two commands \n- yarn global add serve \n- serve -s build" FILE_DATA: "# How to Run Uniswap Locally\n1. Download build.zip and unzip\n2. Serve this folder locally (instructions [here](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/set_up_a_local_testing_server))"
- name: Upload Build - name: Upload Build
id: build-asset id: build-asset
uses: actions/upload-release-asset@v1.0.1 uses: actions/upload-release-asset@v1.0.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment