Create FUNDING.yml #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push new version to dist branch | |
on: | |
push: | |
branches: | |
- main | |
# pull_request: | |
# branches: | |
# - main | |
jobs: | |
deploy: | |
name: Push | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3.1.0 | |
with: | |
node-version: 16.x | |
- name: yarn install and build | |
run: | | |
yarn | |
yarn build:local | |
- name: Push new version | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Built new version |