Skip to content

hotfix/epmgcip-152/app-urls (#13) #3

hotfix/epmgcip-152/app-urls (#13)

hotfix/epmgcip-152/app-urls (#13) #3

'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- 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