{"id":20405625,"url":"https://github.com/nitrictech/actions","last_synced_at":"2025-06-29T18:34:15.920Z","repository":{"id":209979460,"uuid":"724949389","full_name":"nitrictech/actions","owner":"nitrictech","description":"Deploy continuously to your cloud of choice using your favorite language, with Nitric, Pulumi or Terraform, and GitHub!","archived":false,"fork":false,"pushed_at":"2025-06-23T18:11:24.000Z","size":2313,"stargazers_count":7,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-26T18:01:02.030Z","etag":null,"topics":["aws","azure","cloud","gcp","nitric","serverless"],"latest_commit_sha":null,"homepage":"https://nitric.io","language":"TypeScript","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/nitrictech.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,"zenodo":null},"funding":{"github":"nitrictech"}},"created_at":"2023-11-29T05:49:33.000Z","updated_at":"2025-04-03T01:25:16.000Z","dependencies_parsed_at":"2024-05-06T17:32:15.346Z","dependency_job_id":"60d87ab0-c478-4817-baaa-4226233c9307","html_url":"https://github.com/nitrictech/actions","commit_stats":null,"previous_names":["nitrictech/actions"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/nitrictech/actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrictech%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrictech%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrictech%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrictech%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitrictech","download_url":"https://codeload.github.com/nitrictech/actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrictech%2Factions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262647913,"owners_count":23342733,"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":["aws","azure","cloud","gcp","nitric","serverless"],"created_at":"2024-11-15T05:12:10.686Z","updated_at":"2025-06-29T18:34:15.705Z","avatar_url":"https://github.com/nitrictech.png","language":"TypeScript","funding_links":["https://github.com/sponsors/nitrictech"],"categories":[],"sub_categories":[],"readme":"# Nitric CLI - Automated Cloud Deployment\n\n![CI](https://github.com/nitrictech/actions/workflows/Continuous%20Integration/badge.svg)\n![CodeQL](https://github.com/nitrictech/actions/workflows/CodeQL/badge.svg)\n[![Coverage](./badges/coverage.svg)](./badges/coverage.svg)\n\n[Nitric](https://nitric.io) is an\n[open source framework](https://github.com/nitrictech/nitric) for developing\ncloud applications in your language of choice and then easily deploying with\nauto-provisioned infrastructure in AWS, Azure or Google Cloud.\n\nWith Nitric’s GitHub Action, you can automate your cloud deployment of your\napplication with the right cloud-native infrastructure, so that each commit to\nyour GitHub repo triggers a deployment to the stack you’ve configured.\n\nNote: This action is designed to be run on `ubuntu-latest` due to limitations on\nMacOS runners and Windows VMs. It ensures the installation and exposure of a\nspecified version of the Nitric CLI on the GitHub Actions runner environment.\n\n## Usage\n\n```yaml\nname: Nitric\non:\n  push:\n    branches:\n      - main\njobs:\n  up:\n    name: Update\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n\n      - name: Install and configure Pulumi 📦\n        uses: pulumi/actions@v4\n\n      - name: Applying infrastructure 🚀\n        uses: nitrictech/actions@v1\n        with:\n          command: up\n          stack-name: dev # replace with your stack\n        env:\n          PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}\n          PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n```\n\nThis will check out the existing directory and run nitric up.\n\n## Inputs\n\nThe actions supports the following inputs:\n\n| Name                | Type   | Description                                                                                                                              | Default  | Required                  |\n| ------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------------------------- |\n| `version`           | String | Nitric CLI version (or `latest`)                                                                                                         | `latest` | false                     |\n| `command`           | String | The command to run as part of the action. Accepted values are up and down. If unspecified, the action will stop after installing Nitric. |          | false                     |\n| `stack-name`        | String | The name of the stack that Nitric will be operating on. The stack file should be located in the working directory.                       |          | When command is specified |\n| `working-directory` | String | Working directory containing Nitric stack. Useful for mono-repos.                                                                        |          | false                     |\n\n## Installation Only\n\nIf you want to only install the Nitric CLI, omit the `command` field of the\naction.\n\n```yaml\n- uses: nitrictech/actions@v1\n```\n\n## Specific Version\n\nA specific version of the `Nitric` CLI can be installed:\n\n```yaml\nsteps:\n  - uses: nitrictech/actions@v1\n    with:\n      version: 1.34.4\n```\n\n## Examples\n\nBelow are some example workflows:\n\n- [AWS](examples/aws.yaml)\n- [Azure](examples/azure.yaml)\n- [Google Cloud](examples/gcp.yaml)\n\n## Develop\n\nInstall the dependencies\n\n```bash\nnpm install\n```\n\nBuild the typescript and package it for distribution\n\n```bash\nnpm run package\n```\n\nRun the tests\n\n```bash\nnpm test\n```\n\n## Release\n\nTo publish the action, we use\n[JasonEtco/build-and-tag-action](https://github.com/JasonEtco/build-and-tag-action).\nThis automates the build and tagging process.\n\n```bash\nnpm run all\n```\n\n## More info and support\n\nTo learn more about Nitric, check out the docs at https://nitric.io/docs,\nincluding\n[resources for getting started](https://nitric.io/docs/guides/getting-started)\nand a step-by-step guide for setting up\n[continuous deployment with GitHub Actions](https://nitric.io/docs/guides/getting-started/github-actions).\n\nFor questions and support, please get in touch through\n[GitHub Discussions](https://github.com/nitrictech/nitric/discussions) or\n[Discord](https://nitric.io/chat).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitrictech%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitrictech%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitrictech%2Factions/lists"}