Perform the push using another account
parent
0722cb82ec
commit
38ace3e5ef
|
@ -1,6 +1,6 @@
|
||||||
name: Build the Editor
|
name: Build the Editor
|
||||||
|
|
||||||
# Controls when the action will run.
|
# Controls when the action will run. Triggers the workflow on push or pull request events
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
@ -11,7 +11,7 @@ on:
|
||||||
- 'editor/package.json'
|
- 'editor/package.json'
|
||||||
- 'editor/vue.config.js'
|
- 'editor/vue.config.js'
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build".
|
# This workflow contains a single job called "build":
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -33,11 +33,14 @@ jobs:
|
||||||
run: rm -r node_modules
|
run: rm -r node_modules
|
||||||
working-directory: ./editor
|
working-directory: ./editor
|
||||||
|
|
||||||
- name: Commit and push changes
|
- name: Commit files
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "New build of the Editor"
|
git commit -m "New build of the Editor"
|
||||||
git push
|
- name: Push changes
|
||||||
|
uses: ad-m/github-push-action@master
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.PERSONAL_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue