Skip to content

NextJs Deployment with Caprover and Github Actions #241

NextJs Deployment with Caprover and Github Actions

NextJs Deployment with Caprover and Github Actions #241

# This is a basic workflow to help you get started with Actions
name: validate_repo_content
# Controls when the workflow will run
on:
pull_request:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Test
env:
AUTHORS_URL: ${{ secrets.AUTHORS_URL }}
run: cd ./.tests && go test -failfast -v