1
0
Fork 0
mirror of https://github.com/ipfs/awesome-ipfs.git synced 2024-11-20 11:28:35 -05:00
ipfs/.github/workflows/data.yml

34 lines
780 B
YAML
Raw Normal View History

name: auto build data
on:
push:
branches:
- master
paths:
- data/**
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]') && github.repository == 'ipfs/awesome-ipfs'"
steps:
2023-06-16 06:48:18 -04:00
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 13
- name: build
run: |
npm --version
node --version
npm ci
npm run lint
npm run build
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m "Rebuild" -a
- name: Push changes
if: success()
2023-06-16 06:48:18 -04:00
run: git push