Skip to content

Fix language/content separation, tour i18n, guide link, and audit tests #19

Fix language/content separation, tour i18n, guide link, and audit tests

Fix language/content separation, tour i18n, guide link, and audit tests #19

name: Deploy to Staging
on:
push:
branches: [staging]
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: code
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: code/package-lock.json
- run: npm ci
- run: npm run build
- run: npm run test:unit
- run: npm run test:integration
- name: Deploy to Render
env:
RENDER_API_KEY: ${{ secrets.RENDER_API_KEY }}
RENDER_SERVICE_ID: ${{ secrets.RENDER_STAGING_SERVICE_ID }}
run: |
curl -X POST "https://api.render.com/v1/services/${RENDER_SERVICE_ID}/deploys" \
-H "Authorization: Bearer ${RENDER_API_KEY}" \
-H "Content-Type: application/json"