Skip to content

Deploy React Native Benchmarking Versions #33

Deploy React Native Benchmarking Versions

Deploy React Native Benchmarking Versions #33

Workflow file for this run

# https://github.com/marketplace/actions/deploy-to-github-pages
name: Deploy React Native Benchmarking Versions
on:
workflow_dispatch: # Allows the workflow to be triggered manually
permissions:
contents: write
jobs:
deploy-react-native-page:
if: github.ref == 'refs/heads/main' # Runs only if the current branch is 'main'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Build
working-directory: WebpageRevamped
run: |
yarn install
yarn build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./WebpageRevamped/build
branch: gh-pages