mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-17 14:14:30 +00:00
use github action push to whatever
This commit is contained in:
1 file changed
+9
-5
@@ -20,8 +20,12 @@ jobs:
|
|||||||
run: npx -y prettier ./domains -w --tab-width 2 --print-width 120
|
run: npx -y prettier ./domains -w --tab-width 2 --print-width 120
|
||||||
|
|
||||||
- name: Commit
|
- name: Commit
|
||||||
run: |
|
uses: cpina/github-action-push-to-another-repository@main
|
||||||
git config --global user.email "actions@github.com"
|
with:
|
||||||
git config --global user.name "GitHub Actions"
|
source-directory: "register"
|
||||||
git commit -am "Format domains"
|
destination-github-username: is-a-dev
|
||||||
git push
|
destination-repository-name: register
|
||||||
|
user-email: actions@github.com
|
||||||
|
user-name: "GitHub Actions"
|
||||||
|
env:
|
||||||
|
API_TOKEN_GITHUB: ${{ secrets.BOT }}
|
||||||
Reference in new issue
Block a user