From a0bbaec2423106548161db5935786a80e53b0c4d Mon Sep 17 00:00:00 2001 From: Untone Date: Tue, 28 Nov 2023 21:15:07 +0300 Subject: [PATCH] ci --- .gitea/workflows/main.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 644a73f3..98100c1d 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -31,13 +31,12 @@ jobs: with: fetch-depth: 0 - - name: Get Repo Name - id: repo_name - run: echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY##*/})" + - name: Install Vercel CLI + run: | + npm install -g vercel + vercel --version - - name: Push to dokku - uses: dokku/github-action@master - with: - branch: 'main' - git_remote_url: 'ssh://dokku@staging.discours.io:22/${{ steps.repo_name.outputs.repo }}' - ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} + - name: Deploy to Vercel + run: vercel --prod + env: + VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}