Skip to content

Instantly share code, notes, and snippets.

@nievesj
Created November 18, 2020 20:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nievesj/d6d26a7f36298ca5cc5536499ab59663 to your computer and use it in GitHub Desktop.
Save nievesj/d6d26a7f36298ca5cc5536499ab59663 to your computer and use it in GitHub Desktop.
CapRover Action example
on:
push:
branches:
- develop
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy
uses: AlexxNB/caprover-action@v1
with:
server: ${{secrets.CAPROVER_SERVER}}
password: ${{secrets.CAPROVER_PASSWORD}}
appname: ${{secrets.CAPROVER_APPNAMEDEV}}
branch: develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment