openwrt-firmware-selector/.github/workflows/main.yml
Sudhanshu Gautam 62f39939cd
Update main.yml
2019-11-29 15:29:33 +05:30

21 lines
447 B
YAML

name: CD using Github Actions
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: build
BUILD_SCRIPT: yarn && yarn build