github flow

This commit is contained in:
cupcakearmy 2021-05-15 16:56:38 +02:00
parent 27ec42fecd
commit 48cd3f1905
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

View File

@ -1,6 +1,7 @@
name: Main name: Main
on: on:
workflow_dispatch:
push: push:
branches: branches:
- main - main
@ -13,10 +14,10 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '14' node-version: "14"
- name: Install dependencies - name: Install dependencies
run: yarn install --frozen-lockfile run: yarn install --frozen-lockfile
- name: Build - name: Build
run: yarn run dist run: yarn run dist
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}