Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
name: Deploy to Vapor
on:
push:
branches:
- laravel
jobs:
vapor-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Deploy to Vapor
env:
VAPOR_API_TOKEN: ${{ secrets.VAPOR_API_TOKEN }}
run: vendor/bin/vapor deploy production --commit="${{ github.sha }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment