Skip to content

extracting code into function #4

extracting code into function

extracting code into function #4

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
name: Build & deplo
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Compress
uses: a7ul/[email protected]
with:
command: c
files: ./
outPath: ./deploy.tar
- name: Deploy the tar to caprover
uses: caprover/deploy-from-github@main
with:
server: '${{ secrets.CAPROVER_SERVER }}'
app: '${{ secrets.APP_NAME }}'
token: '${{ secrets.APP_TOKEN }}'