Skip to content

Commit

Permalink
ci: add build-web.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
QianChenglong committed Mar 18, 2020
1 parent df036b3 commit db15a0f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build-web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build-web

on:
push:
branches:
- master

pull_request:
branches:
- master

paths:
- 'web/*'

jobs:
build:

runs-on: self-hosted

steps:
- uses: actions/checkout@v2

- run: |
make web
make assets
- name: Commit web
run: |
git config --global user.name 'QianChenglong'
git config --global user.email '[email protected]'
git commit -am 'build: web'
git push

0 comments on commit db15a0f

Please sign in to comment.