Skip to content

update staging action #24

update staging action

update staging action #24

Workflow file for this run

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:
PUBLIC_URL: https://v5.adex.network/staging
REACT_APP_BASE_NAME: staging
REACT_APP_ENV: staging
run: yarn build
- name: GH pages 404
run: cp ./build/index.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
target-folder: ./staging
cname: v5.adex.network