doc: Update english account for demo service #26
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 README to Organization | |
on: | |
push: | |
paths: | |
- 'README.md' | |
- '.github/workflows/sync_readme.yml' | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: false | |
fetch-depth: 0 | |
- name: Organize folder | |
run: | | |
mkdir -p output/profile | |
cp README.md output/profile | |
- name: Pushes to Organization | |
uses: cpina/github-action-push-to-another-repository@main | |
env: | |
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} | |
with: | |
source-directory: 'output' | |
destination-github-username: 'tryzealot' | |
destination-repository-name: '.github' | |
user-email: icyleaf.cn@gmail.com | |
target-branch: main |