docker files fixes from liaqat

This commit is contained in:
alirehmani
2024-05-03 16:39:25 +05:00
commit 464a8730e8
587 changed files with 44288 additions and 0 deletions

35
.github/workflows/caprover.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: Build & Deploy
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Build and test your app (customize as needed)
run: |
# Add your build and test commands here
# For example:
# npm install
# npm run build
# npm run test
- name: Create deploy.tar
uses: a7ul/tar-action@v1.1.0
with:
command: c
cwd: "./"
files: |
scripts/build_and_run.sh
captain-definition
outPath: 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.MANAGING_APPS }}'