Skip to content

Commit

Permalink
feat: sync workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
0xGorilla authored Nov 30, 2022
1 parent da7cf7d commit 77efc9a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 13 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Sync Repository

on:
push:
branches:
- "main"
- "dev"

jobs:
sync:
if: github.repository == 'defi-wonderland/sidechain-oracles-private'
runs-on: ubuntu-latest
steps:
- name: Check out github repository
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install SSH Client
uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.SYNC_SSH_PRIVATE_KEY }}

- name: Add Remote
run: git remote add public git@github.com:defi-wonderland/sidechain-oracles.git

- name: Sync branch
run: git push public ${{ github.ref_name }}
13 changes: 0 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11913,11 +11913,6 @@ solidity-ast@^0.4.15:
resolved "https://registry.yarnpkg.com/solidity-ast/-/solidity-ast-0.4.34.tgz#1d782e4bfa0c9601f9e25219d6063b16eff7ef52"
integrity sha512-wqBCPzJyAumW0iVcrMZhDDwomNrMT8NL4hebtKnjIDFVBRMumknCndP32kSPrYHL7mqWZ9HecXT3ZZHBkOtcwg==

solidity-ast@^0.4.31:
version "0.4.35"
resolved "https://registry.yarnpkg.com/solidity-ast/-/solidity-ast-0.4.35.tgz#82e064b14dc989338123264bde2235cad751f128"
integrity sha512-F5bTDLh3rmDxRmLSrs3qt3nvxJprWSEkS7h2KmuXDx7XTfJ6ZKVTV1rtPIYCqJAuPsU/qa8YUeFn7jdOAZcTPA==

solidity-comments-extractor@^0.0.7:
version "0.0.7"
resolved "https://registry.yarnpkg.com/solidity-comments-extractor/-/solidity-comments-extractor-0.0.7.tgz#99d8f1361438f84019795d928b931f4e5c39ca19"
Expand Down Expand Up @@ -11949,14 +11944,6 @@ solidity-coverage@0.8.1:
shelljs "^0.8.3"
web3-utils "1.3.0"

solidity-docgen@0.6.0-beta.29:
version "0.6.0-beta.29"
resolved "https://registry.yarnpkg.com/solidity-docgen/-/solidity-docgen-0.6.0-beta.29.tgz#90f0382091b56f103b185b2fbf869ff399b2d361"
integrity sha512-63p3w6wj1WFhhC8pXTI3bz5qUTFuGmLNHFnwwpjZ6Qv8dF2WGDt0pg1rbA6c3bL/A4d0ATN66Mte1saGKVWdHg==
dependencies:
handlebars "^4.7.7"
solidity-ast "^0.4.31"

sonic-boom@^3.1.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/sonic-boom/-/sonic-boom-3.2.0.tgz#ce9f2de7557e68be2e52c8df6d9b052e7d348143"
Expand Down

0 comments on commit 77efc9a

Please sign in to comment.