Skip to content

Commit

Permalink
hotfix/epmgcip-152/app-variables (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: Siarhei Balonikau <[email protected]>
  • Loading branch information
gordoney and Siarhei Balonikau authored Jul 25, 2024
1 parent 3906d07 commit cac468c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/contentful-merge.yml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ jobs:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Set Secrets and Change Dir
run: echo "REACT_APP_DOMAIN=${{ secrets.STAGING_REACT_APP_DOMAIN }}" >> .env
- name: Build
run: npm run build
- name: Deploy
env:
CONTENTFUL_ACCESS_TOKEN: ${{ secrets.STAGING_CONTENTFUL_ACCESS_TOKEN }}
CONTENTFUL_ORG_ID: ${{ secrets.STAGING_CONTENTFUL_ORG_ID }}
CONTENTFUL_APP_DEF_ID: ${{ secrets.STAGING_CONTENTFUL_APP_DEF_ID }}
REACT_APP_DOMAIN: ${{ secrets.STAGING_REACT_APP_DOMAIN }}
run: npm run upload-ci
3 changes: 2 additions & 1 deletion .github/workflows/contentful-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ jobs:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Set Secrets and Change Dir
run: echo "REACT_APP_DOMAIN=${{ secrets.REACT_APP_DOMAIN }}" >> .env
- name: Build
run: npm run build
- name: Deploy
env:
CONTENTFUL_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
CONTENTFUL_ORG_ID: ${{ secrets.CONTENTFUL_ORG_ID }}
CONTENTFUL_APP_DEF_ID: ${{ secrets.CONTENTFUL_APP_DEF_ID }}
REACT_APP_DOMAIN: ${{ secrets.REACT_APP_DOMAIN }}
run: npm run upload-ci

0 comments on commit cac468c

Please sign in to comment.