Skip to content

Commit

Permalink
bump cs standards and suppress deploy if secret not set
Browse files Browse the repository at this point in the history
  • Loading branch information
joelclermont committed Dec 18, 2023
1 parent 988495c commit 804c5e9
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 804c5e9

Please sign in to comment.