{"id":19252072,"url":"https://github.com/toeverything/deploy-to-nomad","last_synced_at":"2026-06-10T21:31:22.573Z","repository":{"id":99720925,"uuid":"574612390","full_name":"toeverything/deploy-to-nomad","owner":"toeverything","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-04T00:06:41.000Z","size":466,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T16:50:14.297Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toeverything.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-12-05T17:34:47.000Z","updated_at":"2022-12-13T07:06:29.000Z","dependencies_parsed_at":"2023-08-01T02:04:50.186Z","dependency_job_id":null,"html_url":"https://github.com/toeverything/deploy-to-nomad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/toeverything/deploy-to-nomad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdeploy-to-nomad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdeploy-to-nomad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdeploy-to-nomad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdeploy-to-nomad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toeverything","download_url":"https://codeload.github.com/toeverything/deploy-to-nomad/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdeploy-to-nomad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34172196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09T18:25:16.259Z","updated_at":"2026-06-10T21:31:22.555Z","avatar_url":"https://github.com/toeverything.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploy to nomad\n\nThis action will deploy docker image to nomad.\n\n## Usage\n\nYou can now use the action like following code.\n\n```yaml\nuses: toeverything/deploy-to-nomad@main\nenv:\n  nomad-acl: ${{secrets.NOMAD_ACL_TOKEN}}\n  cf-access-client-id: ${{secrets.CF_ACCESS_CLIENT_ID}}\n  cf-access-client-secret: ${{secrets.CF_ACCESS_CLIENT_SECRET}}\nwith:\n  nomad-domain: 'nomad-dev.affine.systems'\n  job-id: 'Your job id \u0026 name'\n  image-url: 'ghcr.io/toeverything/blocksuite-icons-preview:nightly-latest'\n  static-port: 10022\n  container-port: 3000\n```\n\n## Code in Main\n\n\u003e First, you'll need to have a reasonably modern version of `node` handy. This won't work with versions older than 9, for instance.\n\nInstall the dependencies\n\n```bash\n$ npm install\n```\n\nBuild the typescript and package it for distribution\n\n```bash\n$ npm run build \u0026\u0026 npm run package\n```\n\nRun the tests :heavy_check_mark:\n\n```bash\n$ npm test\n\n PASS  ./index.test.js\n  ✓ throws invalid number (3ms)\n  ✓ wait 500 ms (504ms)\n  ✓ test runs (95ms)\n\n...\n```\n\n## Change action.yml\n\nThe action.yml defines the inputs and output for your action.\n\nUpdate the action.yml with your name, description, inputs and outputs for your action.\n\nSee the [documentation](https://help.github.com/en/articles/metadata-syntax-for-github-actions)\n\n## Publish to a distribution branch\n\nActions are run from GitHub repos so we will checkin the packed dist folder.\n\nThen run [ncc](https://github.com/zeit/ncc) and push the results:\n\n```bash\n$ npm run package\n$ git add dist\n$ git commit -a -m \"prod dependencies\"\n$ git push origin releases/v1\n```\n\nNote: We recommend using the `--license` option for ncc, which will create a license file for all of the production node modules used in your project.\n\nYour action is now published! :rocket:\n\nSee the [versioning documentation](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoeverything%2Fdeploy-to-nomad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoeverything%2Fdeploy-to-nomad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoeverything%2Fdeploy-to-nomad/lists"}