forked from tkestack/tke
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab59f5f
commit 35c1a1c
Showing
1 changed file
with
20 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,23 +5,30 @@ on: | |
branches: | ||
- master | ||
paths: | ||
- 'web/*' | ||
- '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 | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '13.x' | ||
|
||
- run: npm install | ||
|
||
- run: | | ||
make web | ||
make asset | ||
- name: Commit web | ||
run: | | ||
git config --global user.name 'QianChenglong' | ||
git config --global user.email '[email protected]' | ||
git commit -am 'ci: build web' | ||
git push |