[Tips&Tricks] Installing Yoast SEO premium plugin via composer (Trellis)

Installing the Yoast SEO premium plugin via composer is very easy with Trellis.
Just add the My Yoast token to the composer authentications variable to the vault.yml:

# Yoast Premium account install token
composer_authentications:
  - { 
        hostname: "my.yoast.com",
        username: "token", 
        password: "<the-token>"
    }

No extra tasks required.

(Quite possibly) related:

https://discourse.roots.io/t/interactive-console-authentication-for-3rd-party-repository-on-deploy/8592/6
https://discourse.roots.io/t/gitlab-private-repo-as-composer-package/20592/18

2 Likes

This topic was automatically closed after 42 days. New replies are no longer allowed.