Skip to content

Updated LinkedIn shield counters β†ž [auto-sync from KudoAI/duckduckgpt] #1

Updated LinkedIn shield counters β†ž [auto-sync from KudoAI/duckduckgpt]

Updated LinkedIn shield counters β†ž [auto-sync from KudoAI/duckduckgpt] #1

name: Sync /chatgpt-widescreen/* to adamlui/chatgpt-widescreen/*
on:
push:
branches: [ master, main ]
paths:
- 'chatgpt-widescreen/*'
- 'chatgpt-widescreen/docs/**'
- 'chatgpt-widescreen/media/**'
jobs:
build:
if: (github.repository == 'adamlui/chatgpt-apps') && (github.event.commits[0].committer.username != 'kudo-sync-bot')
runs-on: ubuntu-latest
steps:
- name: Checkout adamlui/chatgpt-apps
uses: actions/checkout@v2
with:
token: ${{ secrets.REPO_SYNC_PAT }}
repository: adamlui/chatgpt-apps
path: adamlui/chatgpt-apps
- name: Checkout adamlui/chatgpt-widescreen
uses: actions/checkout@v2
with:
token: ${{ secrets.REPO_SYNC_PAT }}
repository: adamlui/chatgpt-widescreen
path: adamlui/chatgpt-widescreen
- name: Sync /chatgpt-widescreen/* to adamlui/chatgpt-widescreen/*
run: |
rsync -avhr --delete --filter={'P /.*','P /package*.json'} \
${{ github.workspace }}/adamlui/chatgpt-apps/chatgpt-widescreen/ \
${{ github.workspace }}/adamlui/chatgpt-widescreen/
- name: Push to adamlui/chatgpt-widescreen
uses: stefanzweifel/git-auto-commit-action@v4
with:
push_options: '--force'
add_options: '--all'
commit_user_email: [email protected]
commit_message: '${{ github.event.head_commit.message }} β†ž [auto-sync from `adamlui/chatgpt-apps`]'
file_pattern: '**'
repository: adamlui/chatgpt-widescreen