-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use git commands to push to wiki repo
- Loading branch information
Showing
2 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,12 +83,10 @@ jobs: | |
shell: bash | ||
|
||
- name: Push Wiki | ||
uses: cpina/github-action-push-to-another-repository@main | ||
env: | ||
API_TOKEN_GITHUB: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
with: | ||
source-directory: mcaselector-wiki | ||
destination-github-username: Querz | ||
destination-repository-name: mcaselector-wiki | ||
user-email: [email protected] | ||
target-branch: main | ||
run: | | ||
cd mcaselector-wiki | ||
git config --global user.name 'Querz' | ||
git config --global user.email '[email protected]' | ||
git remote set-url origin https://x-access-token:${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}@github.com/Querz/mcaselector-wiki | ||
git commit -am "Automated version update to 2.2.1" | ||
shell: bash |
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