Skip to content

Commit

Permalink
ci: avoiding having to build tarball
Browse files Browse the repository at this point in the history
This also makes so we see the git commit hash in caprover's UI
  • Loading branch information
matheusfillipe committed Feb 17, 2024
1 parent c5cb0cb commit d1d967f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: g4f-api
- uses: a7ul/tar-action@v1.1.0
with:
command: c
cwd: "./"
files: "g4f-api/"
outPath: deploy.tar

- name: Deploy App to CapRover
uses: caprover/deploy-from-github@v1.0.1
uses: caprover/deploy-from-github@v1.1.2
with:
server: '${{ secrets.CAPROVER_SERVER }}'
app: '${{ secrets.APP_NAME }}'
token: '${{ secrets.APP_TOKEN }}'
branch: ${{ github.head_ref || github.ref_name }}

0 comments on commit d1d967f

Please sign in to comment.