mirror of
https://github.com/MunGell/awesome-for-beginners.git
synced 2026-01-24 04:19:06 -08:00
Switch authoring to JSON file and add build/verification actions
This commit is contained in:
26
.github/workflows/build.yml
vendored
Normal file
26
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
paths:
|
||||
- 'data.json'
|
||||
- '.github/tpl.md'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: "16.x"
|
||||
- name: Build
|
||||
run: node .github/scripts/build.js
|
||||
- name: Commit
|
||||
run: |
|
||||
git config --global user.name 'Shmavon Gazanchyan'
|
||||
git config --global user.email 'MunGell@users.noreply.github.com'
|
||||
git commit -am "Update README.md"
|
||||
git push
|
||||
Reference in New Issue
Block a user