Skip to content

Commit

Permalink
Add ENV variable
Browse files Browse the repository at this point in the history
  • Loading branch information
vladanthales committed Dec 2, 2022
1 parent 43ea7cd commit 8cf0383
Showing 1 changed file with 24 additions and 22 deletions.
46 changes: 24 additions & 22 deletions .github/workflows/armada.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
name: Armada Release

on:
release:
types: [ published ]
release:
types: [published]

jobs:
bundle:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
bundle:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build application
run: |
npm install
npm run build
- name: Build application
env:
REACT_APP_INFURA_PROJECT_ID: ${{ secrets.REACT_APP_INFURA_PROJECT_ID }}
run: |
npm install
npm run build
- name: Bundle release for Armada
uses: armada-network/armada-release-action@v1
id: armada
with:
build_dir: build
bundle_name: overtime-${{ github.ref_name }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Bundle release for Armada
uses: armada-network/armada-release-action@v1
id: armada
with:
build_dir: build
bundle_name: overtime-${{ github.ref_name }}
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Log the Armada bundle data
run: |
echo "Armada bundle url: ${{ steps.armada.outputs.bundle_url }}"
echo "Armada bundle checksum: ${{ steps.armada.outputs.checksum }}"
- name: Log the Armada bundle data
run: |
echo "Armada bundle url: ${{ steps.armada.outputs.bundle_url }}"
echo "Armada bundle checksum: ${{ steps.armada.outputs.checksum }}"

0 comments on commit 8cf0383

Please sign in to comment.