Skip to content

clear addresses error #181

clear addresses error

clear addresses error #181

Workflow file for this run

name: Build and Deploy to Netlify
on:
push:
branches: [develop]
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install
run: yarn
- name: Build CRA app dev
run: yarn build
env:
VOCDONI_ENVIRONMENT: dev
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v2.0
with:
publish-dir: './dist'
# keep as a non existant branch, because we don't want to publish this
production-branch: master
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "DEV Deploy from GitHub Actions"
enable-pull-request-comment: true
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1
- name: Build CRA app stg
run: yarn build
env:
VOCDONI_ENVIRONMENT: stg
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v2.0
with:
publish-dir: './dist'
production-branch: develop
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "STG Deploy from GitHub Actions"
enable-pull-request-comment: true
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1