Skip to content

Instantly share code, notes, and snippets.

@mmorel-35
Last active November 1, 2021 18:02
Show Gist options
  • Select an option

  • Save mmorel-35/0972d561d1a4b0a67784c4e67314cf3b to your computer and use it in GitHub Desktop.

Select an option

Save mmorel-35/0972d561d1a4b0a67784c4e67314cf3b to your computer and use it in GitHub Desktop.
name: Update dist
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.JS 12
uses: actions/setup-node@v2
with:
node-version: 12
- run: npm ci
- run: npm run build
- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
author_name: ${{ github.actor }}
author_email: ${{ github.actor }}@users.noreply.github.com
message: 'Update dist/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment