From 56920a72482a366c7bf04acfa5b31defe4cf7869 Mon Sep 17 00:00:00 2001 From: Julio Rodriguez Date: Wed, 27 Nov 2024 23:31:38 -0300 Subject: [PATCH] chore: modify web-deploy workflow --- .github/workflows/deploy-web.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/deploy-web.yml b/.github/workflows/deploy-web.yml index 7472be25..5e55a49e 100644 --- a/.github/workflows/deploy-web.yml +++ b/.github/workflows/deploy-web.yml @@ -29,15 +29,9 @@ jobs: - name: Build package run: beyond build --pkg=pragmate-ui-docs --distribution=web --logs - - name: Publish to NPM - working-directory: src/.beyond/builds/npm/code - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm publish - - name: Deploy to Netlify env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} # Add your Netlify token in GitHub secrets run: | npm install -g netlify-cli # Ensure Netlify CLI is installed - netlify deploy --prod --dir=path-to-build-directory --auth=$NETLIFY_AUTH_TOKEN --site=9f68faf7-2c8c-4c04-8258-fbb000813766 + netlify deploy --prod --dir=./.beyond/.deploy/web --auth=$NETLIFY_AUTH_TOKEN --site=9f68faf7-2c8c-4c04-8258-fbb000813766