Skip to content

Merge branch 'main' of github.com:facebook/rlraudioweb #100

Merge branch 'main' of github.com:facebook/rlraudioweb

Merge branch 'main' of github.com:facebook/rlraudioweb #100

Workflow file for this run

name: Publish With gh-pages
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Git Identity
run: |
git config --global user.name 'Github Automation'
git config --global user.email '[email protected]'
- name: Install
run: |
npm install
- name: Build
run: |
npm run build:prod
- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}