Add example of tests with isolated schema #212
Workflow file for this run
This file contains hidden or 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
name: GitLab | |
on: | |
push: | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
jobs: | |
mirror: | |
name: Mirroring to GitLab | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Mirror repository to Gitlab | |
run: | | |
set -e -x | |
ssh-keyscan -H "${{ vars.GITLAB_HOSTNAME }}" | tee -a ~/.ssh/known_hosts | |
git remote add gitlab "${{ vars.GITLAB_REPO_SSH }}" | |
git push --force gitlab "$GITHUB_REF_NAME" |