Skip to content

Instantly share code, notes, and snippets.

@zachisit
Created March 11, 2021 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zachisit/1f827b0b9034960f4f71b74ed4d6a19e to your computer and use it in GitHub Desktop.
Save zachisit/1f827b0b9034960f4f71b74ed4d6a19e to your computer and use it in GitHub Desktop.
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