You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
degoogle/.github/workflows/build.yml

33 lines
727 B
YAML

4 years ago
name: Build
on:
push:
4 years ago
branches:
- master
4 years ago
paths:
- yaml/*.yml
- md/*.md
- _build.js
4 years ago
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 13.x
- name: Install dependencies
run: npm i
- name: Build
4 years ago
run: node _build.js
4 years ago
- name: Commit
run: |
git add README.md
4 years ago
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m "Generated README.md"
4 years ago
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
4 years ago
branch: master