Open aangelinsf opened 1 year ago
Found another way that installs the standalone version.
TERMINUS_RELEASE=$(curl --silent "https://api.github.com/repos/pantheon-systems/terminus/releases/latest" | perl -nle'print $& while m#"tag_name": "\K[^"]*#g')
curl -L https://github.com/pantheon-systems/terminus/releases/download/$TERMINUS_RELEASE/terminus.phar --output /usr/local/bin/terminus
chmod +x /usr/local/bin/terminus
terminus auth:login --machine-token=${{ secrets.PANTHEON_MACHINE_TOKEN }}
Even better, as of 2 months ago there is an official Terminus action:
The version currently used won't work with php 8.x; I have to remove CGR until it's compatible.
Work seems to have started on upgrading it here: https://github.com/consolidation/cgr/pull/43