Publishing Destinations with Source Control
Posted: Tue Jan 14, 2025 2:56 am
Hello
To save our business significant costs we are moving away from Central so as part of this project we have to have our own source control, as we are a software dev business this in its own right has been fairly straight forward.
We created a git repo in Azure DevOps and testing this connection with a test project all worked fine.
The next step was publishing, we are going to be hosting our sites in Azure Blob Storage, we could use sftp to publish to but it ends up being quite expensive to have the sftp in Azure so we are looking at using a separate repo in Azure to publish the content to, then have a pipeline to transfer to the Azure Blob Storage.
So I have created some test publishing destinations and they all work fine on a separate repo on my machine.
Now here comes the issues / questions:
When we tried on a colleagues machine the general source control for the project all works fine, but the publishing destinations do not show the "remote repository" in them at all and we had to create them, when we did publishing would not work and basically it was telling us to do a pull from that repo first, as we are just publishing to that I don't want to pull anything and only push stuff.
Is there any recommended steps on how to make sure on multiple machines this works properly?
I tried on another machine my end and had the same problem, I then from my local publishing folder C:\flare_test_publish\ took the git files from there and copied to my other machine, I then tried publishing again it worked first time. Surely I shouldn't have to be copying fit files to other machines to make this work?
To save our business significant costs we are moving away from Central so as part of this project we have to have our own source control, as we are a software dev business this in its own right has been fairly straight forward.
We created a git repo in Azure DevOps and testing this connection with a test project all worked fine.
The next step was publishing, we are going to be hosting our sites in Azure Blob Storage, we could use sftp to publish to but it ends up being quite expensive to have the sftp in Azure so we are looking at using a separate repo in Azure to publish the content to, then have a pipeline to transfer to the Azure Blob Storage.
So I have created some test publishing destinations and they all work fine on a separate repo on my machine.
Now here comes the issues / questions:
When we tried on a colleagues machine the general source control for the project all works fine, but the publishing destinations do not show the "remote repository" in them at all and we had to create them, when we did publishing would not work and basically it was telling us to do a pull from that repo first, as we are just publishing to that I don't want to pull anything and only push stuff.
Is there any recommended steps on how to make sure on multiple machines this works properly?
I tried on another machine my end and had the same problem, I then from my local publishing folder C:\flare_test_publish\ took the git files from there and copied to my other machine, I then tried publishing again it worked first time. Surely I shouldn't have to be copying fit files to other machines to make this work?