Removed erroneously inserted 'GoogleGPT' ↞ [auto-sync from `KudoAI/br… #434
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
name: Sync chatgpt/bravegpt/ to (KudoAI/bravegpt/greasemonkey/ && adamlui/chatgpt-apps/bravegpt/greasemonkey/) | |
on: | |
push: | |
branches: [master] | |
paths: [chatgpt/bravegpt/**] | |
jobs: | |
build: | |
if: (github.repository == 'adamlui/userscripts') && (github.event.commits[0].committer.username != 'kudo-sync-bot') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout adamlui/userscripts | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.REPO_SYNC_PAT }} | |
repository: adamlui/userscripts | |
path: adamlui/userscripts | |
- name: Checkout KudoAI/bravegpt | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.REPO_SYNC_PAT }} | |
repository: KudoAI/bravegpt | |
path: KudoAI/bravegpt | |
- name: Checkout adamlui/chatgpt-apps | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.REPO_SYNC_PAT }} | |
repository: adamlui/chatgpt-apps | |
path: adamlui/chatgpt-apps | |
- name: Sync docs to KudoAI/bravegpt/docs/ && adamlui/chatgpt-apps/bravegpt/docs/ | |
run: | | |
cp -r -f -v \ | |
${{ github.workspace }}/adamlui/userscripts/chatgpt/bravegpt/docs \ | |
${{ github.workspace }}/KudoAI/bravegpt/ | |
cp -r -f -v \ | |
${{ github.workspace }}/adamlui/userscripts/chatgpt/bravegpt/docs \ | |
${{ github.workspace }}/adamlui/chatgpt-apps/bravegpt/ | |
- name: Sync chatgpt/bravegpt/ to KudoAI/bravegpt/greasemonkey/ | |
run: | | |
rsync -avhr --delete \ | |
${{ github.workspace }}/adamlui/userscripts/chatgpt/bravegpt/ \ | |
${{ github.workspace }}/KudoAI/bravegpt/greasemonkey/ | |
- name: Sync chatgpt/bravegpt/ to adamlui/chatgpt-apps/bravegpt/greasemonkey/ | |
run: | | |
rsync -avhr --delete \ | |
${{ github.workspace }}/adamlui/userscripts/chatgpt/bravegpt/ \ | |
${{ github.workspace }}/adamlui/chatgpt-apps/bravegpt/greasemonkey/ | |
- name: Push to KudoAI/bravegpt | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
push_options: --force | |
add_options: --all | |
commit_user_email: auto-sync@kudoai.com | |
commit_message: "${{ github.event.head_commit.message }} ↞ [auto-sync from `adamlui/userscripts`]" | |
file_pattern: "**" | |
repository: KudoAI/bravegpt | |
- name: Push to adamlui/chatgpt-apps | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
push_options: --force | |
add_options: --all | |
commit_user_email: auto-sync@kudoai.com | |
commit_message: "${{ github.event.head_commit.message }} ↞ [auto-sync from `adamlui/userscripts/chatgpt/bravegpt`]" | |
file_pattern: "bravegpt/**" | |
repository: adamlui/chatgpt-apps |