Skip to content

Merge branch 'main' of https://github.com/toolstack/gp-machine-translate #4

Merge branch 'main' of https://github.com/toolstack/gp-machine-translate

Merge branch 'main' of https://github.com/toolstack/gp-machine-translate #4

name: Generate readme.md from readme.txt
on:
push:
branches: [ "main" ]
paths: [ "readme.txt" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
grunt
git config --global user.name '${{secrets.GIT_USERNAME}}'
git config --global user.email '${{secrets.GIT_EMAIL}}'
git commit -am "Regenerate readme.md"
git push