redirect to content after storing #67
Workflow file for this run
This file contains 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-sandbox | |
on: | |
push: | |
paths: | |
- "sourcecode/hub/**" | |
- ".github/workflows/hub-deploy-sandbox.yaml" | |
branches: | |
- hubbub | |
defaults: | |
run: | |
working-directory: sourcecode/hub | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
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 --no-dev --optimize-autoloader | |
- name: Install NPM | |
run: npm install | |
- name: Deploy to sandbox environment | |
run: vapor deploy production --without-waiting | |
env: | |
VAPOR_API_TOKEN: ${{ secrets.VAPOR_API_TOKEN }} |