Skip to content

Fetch files recursively #2

Fetch files recursively

Fetch files recursively #2

Workflow file for this run

name: Build & Deploy
on:
push:
branches: [ "prod" ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
submodules: true # Fetch Hugo themes (true OR recursive)

Check failure on line 14 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Create tarball of codebase
run: tar -cf deploy.tar --exclude=deploy.tar .
- name: Deploy App to CapRover
uses: caprover/deploy-from-github@v1.0.1
with:
server: '${{ secrets.CAPROVER_SERVER }}'
app: '${{ secrets.APP_NAME }}'
token: '${{ secrets.APP_TOKEN }}'