Skip to content

Commit

Permalink
Try to deploy to Vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
Frixuu committed Aug 8, 2023
1 parent 2a9861a commit af379b4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,11 @@ jobs:
run: docker login --username "$DOCKERHUB_USERNAME" --password "$DOCKERHUB_TOKEN"
- name: "Build documentation"
run: earthly --ci --push +build-docs
- name: "Deploy to Vercel"
uses: "amondnet/vercel-action@v25"
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
working-directory: ./docs/.vitepress/dist
vercel-args: ${{ github.ref == 'refs/heads/trunk' && '--prod' || '' }}

0 comments on commit af379b4

Please sign in to comment.