Hi all,
I’ve already posted this on Stackoverflow as I didn’t realise there was a forum here. I hope nobody minds me cross-posting it.
I’m using CircleCI for the first time and having trouble publishing to Azure.
The docs don’t have an example for Azure, they have an example for AWS and a note for Azure saying “To deploy to Azure, use a similar job to the above example that uses an appropriate command.”
If anybody has an example yaml file that would be great, if not a nudge in the right direction would be handy. So far I think I’ve worked out the following.
-
I need a config that will install the Azure CLI
-
I need to put my azure deployment credentials in an environment variable and
-
I need to run a deploy command in the yaml file to zip up all the right files and deploy to my Azure app service.
I have no idea if the above is correct, or how to do it, but that’s my understanding right now.
Any help at all would be appreciated.
EDIT: Just to add a little more info, the AWS version of the config file used the following command…
- run:
name: Deploy to S3
command: aws s3 sync jekyll/_site/docs s3://circle-production-static-site/docs/ --delete
So I guess I’m looking for the Azure equivalent.