Merge pull request #30 from CardanoGateKeeper/fix/correct-php-version… #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to Production | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy-production: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.3 | |
| tools: composer:v2 | |
| coverage: none | |
| - name: Require Vapor CLI | |
| run: composer global require laravel/vapor-cli | |
| - name: Install Project Dependencies | |
| run: composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev | |
| - name: Deploy Environment | |
| run: vapor deploy production | |
| env: | |
| VAPOR_API_TOKEN: ${{ secrets.VAPOR_API_TOKEN }} | |