{"id":18586021,"url":"https://github.com/cloud66-oss/github-actions","last_synced_at":"2026-01-24T11:01:54.626Z","repository":{"id":83705756,"uuid":"176731062","full_name":"cloud66-oss/github-actions","owner":"cloud66-oss","description":"GitHub Actions for Cloud 66 Toolbelt.","archived":false,"fork":false,"pushed_at":"2024-04-22T14:40:05.000Z","size":20,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-26T18:16:55.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.cloud66.com","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloud66-oss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-20T12:40:53.000Z","updated_at":"2024-11-08T10:33:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"a63e5498-c213-4202-bd4e-b576ad3408f5","html_url":"https://github.com/cloud66-oss/github-actions","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud66-oss%2Fgithub-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud66-oss%2Fgithub-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud66-oss%2Fgithub-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud66-oss%2Fgithub-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloud66-oss","download_url":"https://codeload.github.com/cloud66-oss/github-actions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239340505,"owners_count":19622702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T00:36:24.521Z","updated_at":"2025-11-01T22:30:41.766Z","avatar_url":"https://github.com/cloud66-oss.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"http://cdn2-cloud66-com.s3.amazonaws.com/images/oss-sponsorship.png\" width=150/\u003e\n\n# GitHub Actions for Cloud 66 Toolbelt #\nThis repository contains GitHub Actions for [Cloud 66 Toolbelt](https://help.cloud66.com/docs/toolbelt/toolbelt), which would allow users to perform common tasks available through cx (such as deployment), using GitHub Actions.\n\n# Usage #\n\nTwo example workflows have been provided below demonstrating two ways in which Cloud 66 Toolbelt commands can be passed to the Cloud 66 GitHub Action. Both of these example workflows result in a redeployment of a Cloud 66 stack, named \"my_stack\".\n\nThe first example provides the name of the stack as an environment variable. This environment variable is then passed to the toolbelt command. \n\n## Example 1 ##\n\n```\nname: Cloud66Action\non: push\nenv:\n  CLOUD66_TOKEN: ${{ secrets.SECRETS }}\n  CLOUD66_STACK: \"my_stack\"\njobs:\n  test-job:\n    name: Test Job\n    runs-on: ubuntu-latest\n    container:\n      image: cloud66/cx:latest\n    steps:\n      - run: cx redeploy --stack CLOUD66_STACK -y --listen\n```\nThe second example passes the name of the stack directly to the toolbelt command.\n\n## Example 2 ##\n\n```\nname: Cloud66Action\non: push\nenv:\n  CLOUD66_TOKEN: ${{ secrets.SECRETS }}\njobs:\n  test-job:\n    name: Test Job\n    runs-on: ubuntu-latest\n    container:\n      image: cloud66/cx:latest\n    steps:\n      - run: cx redeploy --stack my_stack -y --listen\n```\n\n## Secrets ##\nBoth options would need the content of the cx token file to be passed as a secret to authenticate an account with the toolbelt. The content can be accessed by running the ```cx dump-token | base64``` command on your local device that is already authenticated to a Cloud 66 account. The result can then be used as a value of a secret with key ```CLOUD66_TOKEN```. Note that the name of the secret must be ```CLOUD66_TOKEN```. For help adding the secret to your Github, please see [this](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions) help page.\n\n## Environment Variables ##\nThe use of environment variables is a matter of personal choice, since anything that is passed as an environment variable, can also be directly provided in the arguments part. \n\nIn this case, this is ```CLOUD66_STACK = \"my-stack\"``` in the first example and there is no environment variable in the second example. \n\n# License #\nSee LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud66-oss%2Fgithub-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud66-oss%2Fgithub-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud66-oss%2Fgithub-actions/lists"}