Skip to content

Update links

Update links #11

Workflow file for this run

name: Dist
on:
push:
branches:
- main
paths-ignore:
- 'dist/*.js'
jobs:
build:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Build dist
run: npm run dist
- name: Configure Git user
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit generated code
run: |
if ! git diff --exit-code --quiet; then
git add .
git commit -m "Update generated dist ($(git rev-parse --short HEAD))"
git push
fi