mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-31 18:49:47 +08:00
Update publish.yml
This commit is contained in:
parent
9aa1490087
commit
71b451f02a
10
.github/workflows/publish.yml
vendored
10
.github/workflows/publish.yml
vendored
@ -4,6 +4,11 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
types:
|
||||
- closed
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
@ -22,14 +27,15 @@ jobs:
|
||||
git checkout master
|
||||
git config user.email "$GH_EMAIL"
|
||||
git config user.name "Francisco Hodge"
|
||||
git add . || true
|
||||
git commit -m "Build Update" || true
|
||||
env:
|
||||
GH_EMAIL: ${{secrets.GH_EMAIL}}
|
||||
|
||||
- name: Bump version
|
||||
run: |
|
||||
npm version patch
|
||||
npm run build
|
||||
git add . || true
|
||||
git commit -m "Build Update" || true
|
||||
git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
Loading…
Reference in New Issue
Block a user