From 99400b9cc433aec7e789956f782dbd505fd9de72 Mon Sep 17 00:00:00 2001 From: andrey-canon Date: Mon, 5 Feb 2024 15:43:22 -0500 Subject: [PATCH] delete --- .env.development | 2 +- .github/workflows/deploy-mfe-s3.yml | 14 ++++++++++++-- .husky/pre-commit | 4 ---- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.env.development b/.env.development index 94f8a19332..af20af14b7 100644 --- a/.env.development +++ b/.env.development @@ -15,7 +15,7 @@ ECOMMERCE_BASE_URL='http://localhost:18130' ENABLE_JUMPNAV='true' ENABLE_NOTICES='' ENTERPRISE_LEARNER_PORTAL_HOSTNAME='localhost:8734' -EXAMS_BASE_URL='http://localhost:18740' +EXAMS_BASE_URL='' FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico IGNORED_ERROR_REGEX='' LANGUAGE_PREFERENCE_COOKIE_NAME='openedx-language-preference' diff --git a/.github/workflows/deploy-mfe-s3.yml b/.github/workflows/deploy-mfe-s3.yml index 1d1396c833..894f46f618 100644 --- a/.github/workflows/deploy-mfe-s3.yml +++ b/.github/workflows/deploy-mfe-s3.yml @@ -1,7 +1,7 @@ name: MFE S3 Bucket Deployment 🚀 env: - RELEASE_VERSION: palm + RELEASE_VERSION: open-release/palm.nelp on: push: @@ -13,9 +13,18 @@ on: branches: - "**open-rc**" jobs: + print_release_version: + runs-on: ubuntu-latest + steps: + - name: Print RELEASE_VERSION + run: echo "$RELEASE_VERSION" + - name: Print github.ref_name + run: echo " ${{ github.ref_name == ${{env.RELEASE_VERSION}}}}" + + build: environment: - name: ${{ github.ref_name == 'open-release/${{ env.RELEASE_VERSION }}.nelp' && 'prod' || 'stage' }} + name: ${{ github.ref_name == 'open-release/$RELEASE_VERSION.nelp' && 'prod' || 'stage' }} runs-on: ubuntu-latest steps: @@ -71,6 +80,7 @@ jobs: with: name: ${{ vars.APP_ID }}-dist-artifact path: dist + needs: print_release_version deployment: environment: diff --git a/.husky/pre-commit b/.husky/pre-commit index 20d0d06e58..e69de29bb2 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npm run lint