Skip to content

Commit

Permalink
Merge pull request #17 from NoCompromises/ci-bump
Browse files Browse the repository at this point in the history
bump cs standards and suppress deploy if secret not set
  • Loading branch information
aaronsaray committed Dec 18, 2023
2 parents 988495c + 804c5e9 commit 562b09f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ jobs:

- name: Deploy to staging if develop branch
if: github.ref == 'refs/heads/develop'
run: curl -s ${{ secrets.ENVOYER_STAGING_TRIGGER }}
run: [ -n "${{ secrets.ENVOYER_STAGING_TRIGGER }}" ] && curl -s ${{ secrets.ENVOYER_STAGING_TRIGGER }}

- name: Deploy to prod if main branch
if: github.ref == 'refs/heads/main'
run: curl -s ${{ secrets.ENVOYER_PROD_TRIGGER }}
run: [ -n "${{ secrets.ENVOYER_PROD_TRIGGER }}" ] && curl -s ${{ secrets.ENVOYER_PROD_TRIGGER }}
2 changes: 2 additions & 0 deletions bootstrap/app.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
|--------------------------------------------------------------------------
| Create The Application
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions public/index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;

Expand Down

0 comments on commit 562b09f

Please sign in to comment.