Skip to content

Commit e53d902

Browse files
authored
Create build.yml
1 parent 764a6b1 commit e53d902

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build Assets
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- run: npm install
15+
16+
- run: npm run build
17+
18+
- run: |
19+
git config --global user.name 'Simon Hamp'
20+
git config --global user.email '[email protected]'
21+
if git add dist/* ; then
22+
git commit -m "Build resources"
23+
git push
24+
fi

0 commit comments

Comments
 (0)