Skip to content

Commit

Permalink
Create deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nin-jin authored Jul 9, 2020
1 parent 9460b8c commit 02778ab
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: deploy

on:
push:
branches:
- master

jobs:
build:

runs-on: ubuntu-latest

steps:

- name: Checkout sources
uses: actions/checkout@v1

- name: Build app
run: hyoo-ru/mam_build@master
- yarn install
- yarn lint
- yarn test
- yarn build

- name: Deploy on GitHub Pages
uses: alex-page/blazing-fast-gh-pages-deploy@v1.0.1
with:
repo-token: ${{ secrets.GH_PAT }}
site-directory: '.'

0 comments on commit 02778ab

Please sign in to comment.