Skip to content

8. Mirror after passing tests #1953

8. Mirror after passing tests

8. Mirror after passing tests #1953

name: "8. Mirror after passing tests"
on:
workflow_run:
workflows: ["PR: Test code"]
types: [completed]
jobs:
to_internal_repo:
# only run this job in the abd-vro repo
if: (github.repository == 'department-of-veterans-affairs/abd-vro') && (github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-latest
steps:
- name: "Checkout source code"
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: "Mirror to internal repo"
uses: yesolutions/[email protected]
with:
REMOTE: ssh://[email protected]/department-of-veterans-affairs/abd-vro-internal.git
GIT_USERNAME: ${{ github.actor }}
GIT_SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
GIT_SSH_NO_VERIFY_HOST: "true"