Skip to content

Instantly share code, notes, and snippets.

@R3quest
Created January 10, 2023 11:57
Show Gist options
  • Select an option

  • Save R3quest/053bc87e679df494f968d0445e30d399 to your computer and use it in GitHub Desktop.

Select an option

Save R3quest/053bc87e679df494f968d0445e30d399 to your computer and use it in GitHub Desktop.
vapor.yml configuration file
id: 38773
name: vapor-app
environments:
production:
memory: 1024
cli-memory: 512
runtime: php-8.1:al2
build: #runs before deployment
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
- 'php artisan event:cache'
- 'npm install && npm run build && rm -rf node_modules'
deploy: #runs after deployment
- 'php artisan migrate --force'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment