From cc228618903e1ce1f196c3392879d4ff97c0a0a9 Mon Sep 17 00:00:00 2001 From: Adw8 Date: Wed, 6 Nov 2024 12:15:55 +0530 Subject: [PATCH] Update workflow to install dependencies --- .gitea/workflows/deploy-frontend.yaml | 13 +++++++++---- packages/deployer/deploy-frontend.sh | 7 +++++-- packages/deployer/deploy-frontend.vaasl.sh | 1 + 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy-frontend.yaml b/.gitea/workflows/deploy-frontend.yaml index 7aac3cbf..51e4b9b2 100644 --- a/.gitea/workflows/deploy-frontend.yaml +++ b/.gitea/workflows/deploy-frontend.yaml @@ -26,12 +26,16 @@ jobs: curl -fsSL -o /usr/local/bin/yarn https://github.com/yarnpkg/yarn/releases/download/v1.22.21/yarn-1.22.21.js chmod +x /usr/local/bin/yarn + - name: Install dependencies + run: | + yarn install + - name: Set up environment run: | # Create a .env file with the necessary environment variables from GitHub secrets - echo "REGISTRY_BOND_ID=${{ secrets.REGISTRY_BOND_ID }}" > .env - echo "DEPLOYER_LRN=lrn://vaasl-provider/deployers/webapp-deployer-api.apps.vaasl.io" >> .env - echo "AUTHORITY=laconic-deploy" >> .env + echo "REGISTRY_BOND_ID=${{ secrets.REGISTRY_BOND_ID }}" > packages/deployer/.env + echo "DEPLOYER_LRN=lrn://vaasl-provider/deployers/webapp-deployer-api.apps.vaasl.io" >> packages/deployer/.env + echo "AUTHORITY=laconic-deploy" >> packages/deployer/.env # Create a config file with necessary endpoints and placeholders for secrets cat > packages/deployer/config.yml <