Skip to content

Commit

Permalink
delete
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-canon committed Feb 5, 2024
1 parent 11f5095 commit 06d7440
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/deploy-mfe-s3.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: MFE S3 Bucket Deployment 🚀

env:
RELEASE_VERSION: palm
RELEASE_VERSION: open-release/palm.nelp

on:
push:
Expand All @@ -13,9 +13,18 @@ on:
branches:
- "**open-rc**"
jobs:
print_release_version:
runs-on: ubuntu-latest
steps:
- name: Print RELEASE_VERSION
run: echo ${{format('open-release/{0}.nelp', $RELEASE_VERSION)}}
- name: Print github.ref_name
run: echo "${{ github.ref_name == format('open-release/{0}.nelp', $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:

Expand Down Expand Up @@ -71,6 +80,7 @@ jobs:
with:
name: ${{ vars.APP_ID }}-dist-artifact
path: dist
needs: print_release_version

deployment:
environment:
Expand Down
4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint

0 comments on commit 06d7440

Please sign in to comment.