forked from GitHub-Mirrors/foundry-sw5e
Add code to handle github action
This commit is contained in:
parent
a2dc561593
commit
6bbf3304ec
4 changed files with 67 additions and 73 deletions
24
.github/workflows/main.yml
vendored
Normal file
24
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Gulp build and commit updated stylesheets
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master, Develop]
|
||||
pull_request:
|
||||
branches: [master, Develop]
|
||||
|
||||
jobs:
|
||||
gulp-build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
|
||||
- name: Compile with Gulp
|
||||
uses: elstudio/actions-js-build/build@v2
|
||||
|
||||
- name: Commit changes
|
||||
uses: elstudio/actions-js-build/commit@v3
|
||||
with:
|
||||
commitMessage: Regenerate css
|
Loading…
Add table
Add a link
Reference in a new issue