Cloud Publisher for Azure Web Apps
Created by Orckestra
How to Use Cloud Publisher
Cloud Publisher allows you to publish changes on a C1 website to a repository on a Git host such as GitHub or VSTS.
GUI Overview
When you open Cloud Publisher in the C1 Console, you can see:
- Pending changes
- History
- Active branch
If something is not configured properly, you will instead see a message about the error here.
To open Cloud Publisher:
- Log in to the C1 Console as an administrator
- From the “Content” perspective, select “Cloud Publisher”
- Click “Open Publisher”
The Cloud Publisher view will open in the right pane.
Pending changes
Cloud Publisher tracks changes to the website files and shows them as the list. These are the files that will be pushed to the repository.
Note: It only shows new and changed files. Files deleted from the website are not tracked, they will not be “pushed” as “deleted” and thus will be kept in the repository.
The list does not include files added to ~/.gitignore
.
By default, the list is hidden.
Note: The list will be long if you have not published the website to the repository yet.
Viewing changes
To view the list of changed files:
- Click “Pending changes”
History
In the History, you can see a simple log of operations performed by Cloud Publisher.
The record of each push appears here.
Active branch
At the bottom of the view, you can see the name of, and the URL to, the branch Cloud Publisher uses to push changes to on a remote Git host.
You can click the link to view the branch in the remote repository in your browser.
Pushing changes
To push changes from your website to the repository on a remote Git host:
- Click the “Publish to Cloud” button
While files are getting uploaded to the repository, the C1 Console will be temporarily irresponsive.
The first push might take up to a few minutes, all the following pushes will normally take a few seconds, depending on your network connection.
Refreshing the view
To refresh the Cloud Publisher view opened in the C1 Console:
- Click the “Refresh View” button
Note: Refreshing the view closes the list of pending changes.