Skip to content

Commit

Permalink
Add synchronization workflow with foundation repository (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejnems authored Nov 15, 2021
1 parent 4d1979b commit 5ba6d0e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/push-foundation-repo.yml
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

0 comments on commit 5ba6d0e

Please sign in to comment.