Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samundrak/azure-pipeline-ci-example
azure-pipeline-ci-example
https://github.com/samundrak/azure-pipeline-ci-example
azure cd ci deploy react static
Last synced: 25 days ago
JSON representation
azure-pipeline-ci-example
- Host: GitHub
- URL: https://github.com/samundrak/azure-pipeline-ci-example
- Owner: samundrak
- Created: 2020-05-19T16:49:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-02T03:20:05.000Z (over 4 years ago)
- Last Synced: 2024-10-28T03:17:29.170Z (2 months ago)
- Topics: azure, cd, ci, deploy, react, static
- Language: JavaScript
- Size: 948 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure Pipeline CI to deploy React APP in DigitalOcean
This is simple repo to actually deploy small react app hosted in Azure Repos, build in Azure Pipeline and Released to Digital
ocean.To make this work I will be using pipeline task CopyFileOverSSH which can found in pipeline assistant but before
that you need to generate ssh key in your local machine and add it in `authorized_keys` in target server where it will be deployed.# Steps to deploy
- Generate a SSH key `ssh-keygen -t rsa -m PEM -b 4096 -C "[email protected]"`
- Put the public one in `authorized_keys` file of target server
- Create a [SSH connection](https://dev.azure.com/140166/140166/_settings/adminservices) by clicking new connection and selecting SSH from the list
- In the drawer enter your server IP address, private key and connection name and create a connection
- Go to pipeline and add tasks/scripts for reference see `azure-pipeline.yml` in this repo