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 0c9b4d9
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 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
with:
server: '${{ secrets.CAPROVER_SERVER }}'
app: '${{ secrets.APP_NAME }}'
token: '${{ secrets.APP_TOKEN }}'
branch: ${{ github.head_ref || github.ref_name }}

0 comments on commit 0c9b4d9

Please sign in to comment.