From 5ee30913629c304d247b80e844d6c990d7021e73 Mon Sep 17 00:00:00 2001 From: Jose Javier Alvarez Rodriguez Date: Wed, 18 Dec 2024 14:37:05 +0100 Subject: [PATCH] update workflow --- .github/workflows/webapp-deploy.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/webapp-deploy.yml b/.github/workflows/webapp-deploy.yml index daad5a3a1..831bdcb6c 100644 --- a/.github/workflows/webapp-deploy.yml +++ b/.github/workflows/webapp-deploy.yml @@ -64,15 +64,19 @@ jobs: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} run: yarn sentry:sourcemaps + - name: Install Fleek CLI + run: npm i -g @fleek-platform/cli - name: Activate Fleek env: FLEEK_FILE: ${{ needs.set-environment.outputs.environment }} run: mv ./.github/fleek/$FLEEK_FILE.json .fleek.json - - name: Deploy through Fleek + - name: Deploy on Fleek id: deploy - uses: fleekhq/action-deploy@v1.0.1 - with: - apiKey: ${{ secrets.FLEEK_API_KEY }} - workDir: ${{ env.working-directory }} + run: fleek sites deploy + env: + FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN_2 }} + FLEEK_PROJECT_ID: ${{ secrets.FLEEK_PROJECT_ID_2 }} + + - name: Get the Fleek output url run: echo "The Fleek deploy url is ${{ steps.deploy.outputs.deployUrl }}"