Skip to content

Commit

Permalink
Updated adamlui/ai-apps to adamlui/ai-web-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Jan 11, 2025
1 parent dc54285 commit 976f651
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/sync-changes-to-repos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Sync _locales/ between <chromium|firefox>/extension/, then ** to adamlui/ai-apps/phind-omnibox/
name: Sync _locales/ between <chromium|firefox>/extension/, then ** to adamlui/ai-web-extensions/phind-omnibox/

on:
push:
Expand All @@ -25,12 +25,12 @@ jobs:
path: adamlui/phind-omnibox
fetch-depth: 2

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

- name: Sync _locales/ between <chromium|firefox>/extension/
run: |
Expand Down Expand Up @@ -65,11 +65,11 @@ jobs:
# Expose sync src for commit msg in self-push step
echo "SYNC_SRC=$sync_src" >> $GITHUB_ENV

- name: Sync ** to adamlui/ai-apps/phind-omnibox/
- name: Sync ** to adamlui/ai-web-extensions/phind-omnibox/
run: |
rsync -avhr --delete --exclude '.*' \
${{ github.workspace }}/adamlui/phind-omnibox/ \
${{ github.workspace }}/adamlui/ai-apps/phind-omnibox/
${{ github.workspace }}/adamlui/ai-web-extensions/phind-omnibox/
- name: Escape backticks in commit msg
env:
Expand All @@ -94,9 +94,9 @@ jobs:
git add . && git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from ${{ env.SYNC_SRC }}/]" || true
git push
- name: Push changes to adamlui/ai-apps
- name: Push changes to adamlui/ai-web-extensions
run: |
cd ${{ github.workspace }}/adamlui/ai-apps
cd ${{ github.workspace }}/adamlui/ai-web-extensions
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from https://github.com/adamlui/phind-omnibox]" || true
git push

0 comments on commit 976f651

Please sign in to comment.