-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add synchronization workflow with foundation repository (#190)
- Loading branch information
1 parent
4d1979b
commit 5ba6d0e
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Sync Cardinal-Cryptography repo with Aleph-Zero-Foundation repo | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
sync: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.repository == 'Cardinal-Cryptography/aleph-node'}} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.SYNCAZF }} | ||
- name: Push to Aleph-Zero-Foundation | ||
run: git push https://x-access-token:${{ secrets.SYNCAZF }}@github.com/aleph-zero-foundation/aleph-node.git |