Skip to content

Commit

Permalink
test(main): add test and example file
Browse files Browse the repository at this point in the history
  • Loading branch information
ttionya committed Jun 2, 2020
1 parent 45459ca commit 467c4b1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'sync-to-other-hub'

on:
push:
delete:

jobs:
github:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: ./
with:
target_repository: '[email protected]:ttionya/Repository-Sync-Hub-Test.git'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
gitee:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: ./
with:
target_repository: '[email protected]:ttionya/Repository-Sync-Hub-Test.git'
ssh_private_key: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}

0 comments on commit 467c4b1

Please sign in to comment.