Skip to content

fix: tryfix deploy issue #8

fix: tryfix deploy issue

fix: tryfix deploy issue #8

Workflow file for this run

name: deploy
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
name: build and deploy
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
cwd: './'
files: ./
outPath: ./deploy.tar
- name: Deploy the tar to caprover
uses: caprover/deploy-from-github@main
with:
server: '${{ secrets.CAPROVER_SERVER }}'
app: '${{ secrets.WEB_APP_NAME }}'
token: '${{ secrets.WEB_APP_TOKEN }}'