Skip to content

Commit

Permalink
Fix pipeline reference
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmcal committed Oct 17, 2023
1 parent cb64ab4 commit 20d8c27
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ on:
jobs:
build_production:
name: 'Build: Production'
uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@reusable
uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@${{GITHUB_SHA}}
secrets: inherit
with:
target: production

build_development:
name: 'Build: Development'
uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@reusable
uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@$GITHUB_SHA
secrets: inherit
with:
target: development
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,60 +6,60 @@ on:
jobs:
build:
name: Test
uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@reusable
uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@${{ GITHUB_SHA }}
secrets: inherit

cypress:
name: Cypress
uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@reusable
uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@${{ GITHUB_SHA }}
secrets: inherit
with:
target: cypress

rubocop:
name: Rubocop
uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@reusable
uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@${{ GITHUB_SHA }}
with:
command: bundle exec rubocop --config .rubocop.yml .
needs: build

reek:
name: Reek
uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@reusable
uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@${{ GITHUB_SHA }}
with:
command: bundle exec reek --config .reek.yml .
needs: build

brakeman:
name: Brakeman
uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@reusable
uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@${{ GITHUB_SHA }}
with:
command: bundle exec brakeman
needs: build

scsslint:
name: SCSSLint
uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@reusable
uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@${{ GITHUB_SHA }}
with:
command: bundle exec scss-lint --config .scss-lint.yml
needs: build

tests:
name: Backend
uses: gmmcal/gmmcal.com.br/.github/workflows/tests.yml@reusable
uses: gmmcal/gmmcal.com.br/.github/workflows/tests.yml@${{ GITHUB_SHA }}
needs: build

e2e-admin:
name: Admin
uses: gmmcal/gmmcal.com.br/.github/workflows/cypress.yml@reusable
uses: gmmcal/gmmcal.com.br/.github/workflows/cypress.yml@${{ GITHUB_SHA }}
with:
pattern: spec/end-to-end/tests/admin/**.js
artifact-name: cypress-screenshots-backend
needs: cypress

e2e-frontend:
name: Frontend
uses: gmmcal/gmmcal.com.br/.github/workflows/cypress.yml@reusable
uses: gmmcal/gmmcal.com.br/.github/workflows/cypress.yml@${{ GITHUB_SHA }}
with:
pattern: spec/end-to-end/tests/frontend/**.js
artifact-name: cypress-screenshots-frontend
Expand Down

0 comments on commit 20d8c27

Please sign in to comment.