mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update update-docs.yml
This commit is contained in:
20
.github/workflows/update-docs.yml
vendored
20
.github/workflows/update-docs.yml
vendored
@@ -29,11 +29,15 @@ jobs:
|
|||||||
cp readme.md SillyTavern-Docs/readme.md
|
cp readme.md SillyTavern-Docs/readme.md
|
||||||
cp public/notes/update.md SillyTavern-Docs/update.md
|
cp public/notes/update.md SillyTavern-Docs/update.md
|
||||||
|
|
||||||
- name: Commit and push changes to SillyTavern-Docs
|
- name: Deploy to external repository
|
||||||
run: |
|
uses: cpina/github-action-push-to-another-repository@main
|
||||||
cd SillyTavern-Docs
|
env:
|
||||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }
|
||||||
git config --global user.name "GitHub Actions"
|
with:
|
||||||
git add guidebook.md faq.md README.md
|
# GitHub Action output files
|
||||||
git commit -m "Update guidebook, faq and README files"
|
source-directory: SillyTavern-Docs/
|
||||||
git push
|
destination-github-username: SillyTavern
|
||||||
|
destination-repository-name: SillyTavern-Docs
|
||||||
|
user-email: github-actions[bot]@users.noreply.github.com
|
||||||
|
user-name: "GitHub Actions"
|
||||||
|
target-branch: "main"
|
||||||
|
Reference in New Issue
Block a user