Skip to content

Automated accessibility data update #948

Automated accessibility data update

Automated accessibility data update #948

Workflow file for this run

name: Build site
on:
push:
pull_request:
jobs:
build_site:
runs-on: ubuntu-latest
name: Build site
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Create env file
run: |
touch .env.production
echo ENVIRONMENT=${{ secrets.PRODUCTION_ENVIRONMENT }} >> .env.production
echo ANALYTICS_ENABLED=${{ secrets.PRODUCTION_ANALYTICS_ENABLED }} >> .env.production
echo ANALYTICS_GTM_ID=${{ secrets.PRODUCTION_ANALYTICS_GTM_ID }} >> .env.production
echo ANALYTICS_SERVER_URL=${{ secrets.PRODUCTION_ANALYTICS_SERVER_URL }} >> .env.production
- name: Run build
run: |
npm install
npm run build:prod