Skip to content

Commit

Permalink
ci: check repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
aldum committed Nov 27, 2024
1 parent bb1b339 commit 4ad0328
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ jobs:
run-busted:
runs-on: ubuntu-latest
steps:
- name: Get repository name
id: repo-name
uses: MariachiBear/[email protected]
with:
with-owner: 'false'
string-case: 'lowercase'

- uses: actions/checkout@v4
with:
submodules: "true"
Expand Down Expand Up @@ -131,6 +138,7 @@ jobs:

deploy-staging:
runs-on: ubuntu-latest
if: ${{ steps.repo-name.outputs.repository-name }} == 'compy-dev'
needs: build-web
environment: staging
steps:
Expand Down

0 comments on commit 4ad0328

Please sign in to comment.