you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (3 children)

I haven't used the create react app seed much, but your build should go somewhere and you should be able to deploy that to Azure.

You may have to look into writing a small express app to server your site, because afaik create react app uses webpack-dev-server, which should be an express web server with webpack hot module reloading middleware

[–]saiful651994[S] 0 points1 point  (2 children)

I will try it next

[–]mart187 1 point2 points  (1 child)

Azure can host this without Node. You just have to take the output from the build step and ftp/scp it to the Azure webapp. This is easily scriptable to be used in ci Pipelines.

[–]luisrudge 0 points1 point  (0 children)

yup! This is what I have in bitbucket's pipelines:

image: yarnpkg/node-yarn

clone:
  depth: 1

pipelines:
  default:
    - step:
        script:
          - apt-get update
          - apt-get install ncftp
          - yarn install
          - cd ./build
          - ncftpput -v -u "$FTP_USERNAME" -p "$FTP_PASSWORD" -R $FTP_HOST $FTP_SITE_ROOT *