Skip to content

Commit

Permalink
fix command args
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry committed Aug 13, 2021
1 parent 41d864a commit 8220b57
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ jobs:
- name: Run security tests
if: ${{ startsWith(github.ref, 'refs/heads/main') || startsWith(github.ref, 'refs/heads/security-') }}
run: |
docker run $CONTAINER_TEST_REPOSITORY -e RAILS_ENV=test bundle update brakeman --quiet
docker run $CONTAINER_TEST_REPOSITORY -e RAILS_ENV=test bundle exec brakeman --run-all-checks --no-pager
# docker run $CONTAINER_TEST_REPOSITORY -e RAILS_ENV=test bundle exec bundler-audit check --update
# docker run $CONTAINER_TEST_REPOSITORY -e RAILS_ENV=test bundle exec ruby-audit check
docker run $CONTAINER_TEST_REPOSITORY -e RAILS_ENV=production -e NODE_ENV=production yarn check --integrity
docker run -e RAILS_ENV=test $CONTAINER_TEST_REPOSITORY bundle update brakeman --quiet
docker run -e RAILS_ENV=test $CONTAINER_TEST_REPOSITORY bundle exec brakeman --run-all-checks --no-pager
# docker run -e RAILS_ENV=test $CONTAINER_TEST_REPOSITORY bundle exec bundler-audit check --update
# docker run -e RAILS_ENV=test $CONTAINER_TEST_REPOSITORY bundle exec ruby-audit check
docker run -e RAILS_ENV=production -e NODE_ENV=production $CONTAINER_TEST_REPOSITORY yarn check --integrity
- name: Publish the deployable image
run: |
Expand Down

0 comments on commit 8220b57

Please sign in to comment.