Skip to content

Commit

Permalink
Updated chatgpt-apps in paths to ai-apps
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Oct 12, 2024
1 parent e9cf14d commit 5c6b638
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/sync-changes.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Sync (/ to adamlui/chatgpt-apps/duckduckgpt/) && (/greasemonkey/ to adamlui/userscripts/chatgpt/duckduckgpt/)
name: Sync (/ to adamlui/ai-apps/duckduckgpt/) && (/greasemonkey/ to adamlui/userscripts/chatgpt/duckduckgpt/)

on:
push:
Expand All @@ -22,12 +22,12 @@ jobs:
path: KudoAI/duckduckgpt
fetch-depth: 2

- name: Checkout adamlui/chatgpt-apps
- name: Checkout adamlui/ai-apps
uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_SYNC_PAT }}
repository: adamlui/chatgpt-apps
path: adamlui/chatgpt-apps
repository: adamlui/ai-apps
path: adamlui/ai-apps

- name: Checkout adamlui/userscripts
uses: actions/checkout@v4
Expand Down Expand Up @@ -73,11 +73,11 @@ jobs:
# Store sync src for commit msg in self-push step
echo "sync_src=$sync_src" >> $GITHUB_OUTPUT
- name: Sync / to adamlui/chatgpt-apps/duckduckgpt/
- name: Sync / to adamlui/ai-apps/duckduckgpt/
run: |
rsync -avhr --delete --exclude={'.*','eslint*','package*json'} \
${{ github.workspace }}/KudoAI/duckduckgpt/ \
${{ github.workspace }}/adamlui/chatgpt-apps/duckduckgpt/
${{ github.workspace }}/adamlui/ai-apps/duckduckgpt/
- name: Sync /greasemonkey/ to adamlui/userscripts/chatgpt/duckduckgpt/
run: |
Expand Down Expand Up @@ -108,9 +108,9 @@ jobs:
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`${{ steps.sync_docs.outputs.sync_src }}\`]" || true
git push
- name: Push changes to adamlui/chatgpt-apps
- name: Push changes to adamlui/ai-apps
run: |
cd ${{ github.workspace }}/adamlui/chatgpt-apps
cd ${{ github.workspace }}/adamlui/ai-apps
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`KudoAI/duckduckgpt\`]" || true
git push
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update usercount/clones shields in READMEs, sync to adamlui/chatgpt-apps + adamlui/userscripts
name: Update usercount/clones shields in READMEs, sync to adamlui/ai-apps + adamlui/userscripts

on:
schedule:
Expand All @@ -18,12 +18,12 @@ jobs:
repository: KudoAI/duckduckgpt
path: KudoAI/duckduckgpt

- name: Checkout adamlui/chatgpt-apps
- name: Checkout adamlui/ai-apps
uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_SYNC_PAT }}
repository: adamlui/chatgpt-apps
path: adamlui/chatgpt-apps
repository: adamlui/ai-apps
path: adamlui/ai-apps

- name: Checkout adamlui/userscripts
uses: actions/checkout@v4
Expand Down Expand Up @@ -144,11 +144,11 @@ jobs:
commit_msg_intro+=" shield counters"
echo "commit_msg_intro=$commit_msg_intro" >> $GITHUB_OUTPUT # expose as output
- name: Sync / to adamlui/chatgpt-apps/duckduckgpt/
- name: Sync / to adamlui/ai-apps/duckduckgpt/
run: |
rsync -avhr --delete --exclude={'.*','eslint*','package*json'} \
${{ github.workspace }}/KudoAI/duckduckgpt/ \
${{ github.workspace }}/adamlui/chatgpt-apps/duckduckgpt/
${{ github.workspace }}/adamlui/ai-apps/duckduckgpt/
- name: Sync /greasemonkey/ to adamlui/userscripts/chatgpt/duckduckgpt/
run: |
Expand All @@ -171,9 +171,9 @@ jobs:
git commit -n -m "${{ steps.update-shields.outputs.commit_msg_intro }} in READMEs" || true
git push
- name: Push changes to adamlui/chatgpt-apps
- name: Push changes to adamlui/ai-apps
run: |
cd ${{ github.workspace }}/adamlui/chatgpt-apps
cd ${{ github.workspace }}/adamlui/ai-apps
git add .
git commit -n -m "${{ steps.update-shields.outputs.commit_msg_intro }} in DuckDuckGPT READMEs" || true
git push
Expand Down

0 comments on commit 5c6b638

Please sign in to comment.