Skip to content

Merge pull request #23 from VigneshRamanathan101/Median-of-2-sorted-a… #9

Merge pull request #23 from VigneshRamanathan101/Median-of-2-sorted-a…

Merge pull request #23 from VigneshRamanathan101/Median-of-2-sorted-a… #9

Workflow file for this run

name: Release
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
branches: [main]
paths:
- 'problems/**'
- 'src/'
- '*.js'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: yarn install
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_branch: release