Skip to content

Detecting if PlatformSH is building an environment, and returning the URL when it's done deploying.

Notifications You must be signed in to change notification settings

reload/action-platformsh-url

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

action-platformsh-url

Detecting if PlatformSH is building an environment, and returning the URL when it's done deploying.

Inputs

  • PLATFORMSH_ID: The ID of your platform project.
  • PLATFORMSH_KEY: The API token, generated through PlatformSH.
    • Login to console.platform.sh
    • "My Profile" > "API Tokens" > "Create API token"
    • Remember that this is an access token, and should not be written in plain text.
    • Add it as an encrypted repo secret - more info at GitHub docs.
  • ENVIRONMENT_NAME (optional): The environment, to check for
    • By default, this is set to the pr-xx, using pr-${{ github.event.pull_request.number }}
    • You can also set it to check for the current branch, using ${{ github.head_ref || github.ref_name }}

See the other inputs in action.yml

See also

This action is used for another action, for detecting if a platformsh environment has deployed correctly.

https://github.com/rasben/action-platformsh-deploy-status

About

Detecting if PlatformSH is building an environment, and returning the URL when it's done deploying.

Resources

Stars

Watchers

Forks

Packages

No packages published