Skip to content

Commit

Permalink
fix: fix library push
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 29, 2020
1 parent edcdd4b commit e3cc51a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
30 changes: 21 additions & 9 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,53 +16,65 @@ jobs:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- run: |
bash <(curl -s https://raw.githubusercontent.com/ory/ci/master/src/scripts/install/git.sh)
git config --global url."[email protected]:".insteadOf https://github.com/

- name: Synchronize ORY Hydra
run: ./scripts/sync-server.sh ory/hydra master Hydra
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AENEASR }}

- name: Synchronize ORY Keto
run: ./scripts/sync-server.sh ory/hydra master Keto
run: ./scripts/sync-server.sh ory/keto master Keto
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AENEASR }}

- name: Synchronize ORY Oathkeeper
run: ./scripts/sync-server.sh ory/hydra master Oathkeeper
run: ./scripts/sync-server.sh ory/oathkeeper master Oathkeeper
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AENEASR }}

- name: Synchronize ORY Kratos
run: ./scripts/sync-server.sh ory/hydra master Kratos
run: ./scripts/sync-server.sh ory/kratos master Kratos
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AENEASR }}

- name: Synchronize ORY Hydra Login, Logout And Consent Node Example
run: ./scripts/sync-library.sh ory/hydra-login-consent-node master "Hydra Login, Logout And Consent Node Example"
run: |
./scripts/sync-library.sh ory/hydra-login-consent-node master "Hydra Login, Logout And Consent Node Example"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AENEASR }}

- name: Synchronize ORY Kratos SelfService UI Node Example
run: ./scripts/sync-library.sh ory/kratos-selfservice-ui-node master "Kratos SelfService UI Node Example"
run: |
./scripts/sync-library.sh ory/kratos-selfservice-ui-node master "Kratos SelfService UI Node Example"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AENEASR }}

- name: Synchronize ORY Fosite
run: ./scripts/sync-library.sh ory/fosite master Fosite
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AENEASR }}

- name: Synchronize ORY Dockertest
run: ./scripts/sync-library.sh ory/dockertest v3 Dockertest
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AENEASR }}

- name: Synchronize ORY Herodot
run: ./scripts/sync-library.sh ory/herodot master Herodot
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AENEASR }}

- name: Synchronize ORY Graceful
run: ./scripts/sync-library.sh ory/graceful master Graceful
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AENEASR }}

- name: Synchronize ORY Kubernetes Resources
run: ./scripts/sync-library.sh ory/k8s master "Kubernetes Resources"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AENEASR }}

- name: Synchronize ORY X
run: ./scripts/sync-library.sh ory/x master X

env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AENEASR }}
3 changes: 3 additions & 0 deletions scripts/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ set -Eexuo pipefail
bin=$(mktemp -d -t bin-XXXXXX)
export PATH="$PATH:$bin"

bash <(curl -s https://raw.githubusercontent.com/ory/ci/master/src/scripts/install/git.sh)
git config --global url."[email protected]:".insteadOf https://github.com/

function sync {
cd "$( dirname "${BASH_SOURCE[0]}" )/.."
workdir=$1
Expand Down

0 comments on commit e3cc51a

Please sign in to comment.