Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Presslabs

    (@presslabs)

    Hello @rodricus,

    Can you try the following steps

    1. After activation, go to the Gitium settings in your WordPress admin area.
    2. Copy the Public Key that Gitium has generated for you from the Key Pair field(you can press regenerate key pair).
    3. In your repository manager of choice (GitHub, GitLab, or Bitbucket), go to the settings page and find the “Deploy keys” (or similar) section. There you will need to add the Public Key you’ve copied from Gitium. This will grant Gitium access to your repository. Make sure to allow write access as well. Also make sure that you copy the entire key from gitium.
    4. Now go back to your main repository page and copy the SSH URL to your repo. Paste this URL in Gitium and press the “Fetch” button.
    5. A “Repository initialized successfully” message will show up. This means that your repository has been populated with the current code of your website and it is ready to start working with Gitium.

    Webook configuration:

    Gitium uses the webhook to automatically deploy remote changes to your server. To configure it follow these steps:

    1. Go to your WordPress website and go to your Gitium Settings page;
    2. Copy the full Webhook URL that Gitium provides;
    3. In your Git Manager settings, go to Webhook section, add a new webhook and paste the webhook URL you have copied from Gitium.
    4. Press Add, no settings changes needed. The webook simply needs a ping, nothing more. The security key is already embedded in the final URL Gitium has generated for you.

    Now when you push to your repo, this webhook will automatically pull the changes to your remote server and deploy them.

    Thread Starter rodricus

    (@rodricus)

    Hello, thank you very much, it worked.

    Plugin Author Presslabs

    (@presslabs)

    Alright, thank you for your confirmation!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.