diff --git a/.github/workflows/gitlab.yml b/.github/workflows/gitlab.yml deleted file mode 100644 index b03ba6f..0000000 --- a/.github/workflows/gitlab.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: GitLab - -on: - push: - workflow_dispatch: - -jobs: - mirror: - name: Mirroring to GitLab - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: webfactory/ssh-agent@v0.9.0 - 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" diff --git a/README.md b/README.md index 8d6b0a1..cc2741f 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ [![Go workflow status badge](https://github.com/xorcare/testing-go-code-with-postgres/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/xorcare/testing-go-code-with-postgres/actions/workflows/go.yml) [![codecov](https://codecov.io/github/xorcare/testing-go-code-with-postgres/branch/main/graph/badge.svg?token=AmPmVHf2ej)](https://codecov.io/github/xorcare/testing-go-code-with-postgres/tree/main) -[![Gitlab CI Pipeline](https://gitlab.com/xorcare/testing-go-code-with-postgres/badges/main/pipeline.svg)](https://gitlab.com/xorcare/testing-go-code-with-postgres/tree/main) -[![Gitlab CI Coverage](https://gitlab.com/xorcare/testing-go-code-with-postgres/badges/main/coverage.svg)](https://gitlab.com/xorcare/testing-go-code-with-postgres/tree/main) [![Go Report Card](https://goreportcard.com/badge/github.com/xorcare/testing-go-code-with-postgres)](https://goreportcard.com/report/github.com/xorcare/testing-go-code-with-postgres) The example suggests a solution to the problem of cleaning the database after