From 117259dfc5b4ed05c556104fa82ec3bd039c7b22 Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Sat, 10 Feb 2024 15:36:59 +0800 Subject: [PATCH] ci: fix repo name in CI --- .github/workflows/build.yml | 8 ++++---- .github/workflows/sync.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81a7817c..dd964995 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -127,7 +127,7 @@ jobs: release-and-push: name: Release And Push runs-on: ubuntu-latest - if: github.repository == 'casbin/casdoor' && github.event_name == 'push' + if: github.repository == 'casdoor/casdoor' && github.event_name == 'push' needs: [ frontend, backend, linter, e2e ] steps: - name: Checkout @@ -182,14 +182,14 @@ jobs: - name: Log in to Docker Hub uses: docker/login-action@v1 - if: github.repository == 'casbin/casdoor' && github.event_name == 'push' && steps.should_push.outputs.push=='true' + if: github.repository == 'casdoor/casdoor' && github.event_name == 'push' && steps.should_push.outputs.push=='true' with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Push to Docker Hub uses: docker/build-push-action@v3 - if: github.repository == 'casbin/casdoor' && github.event_name == 'push' && steps.should_push.outputs.push=='true' + if: github.repository == 'casdoor/casdoor' && github.event_name == 'push' && steps.should_push.outputs.push=='true' with: context: . target: STANDARD @@ -199,7 +199,7 @@ jobs: - name: Push All In One Version to Docker Hub uses: docker/build-push-action@v3 - if: github.repository == 'casbin/casdoor' && github.event_name == 'push' && steps.should_push.outputs.push=='true' + if: github.repository == 'casdoor/casdoor' && github.event_name == 'push' && steps.should_push.outputs.push=='true' with: context: . target: ALLINONE diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 67443831..12199177 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -7,7 +7,7 @@ on: jobs: synchronize-with-crowdin: runs-on: ubuntu-latest - if: github.repository == 'casbin/casdoor' && github.event_name == 'push' + if: github.repository == 'casdoor/casdoor' && github.event_name == 'push' steps: - name: Checkout