{"id":13809093,"url":"https://github.com/bogdaaamn/deta-deploy-action","last_synced_at":"2025-04-26T02:31:56.700Z","repository":{"id":44151316,"uuid":"319457477","full_name":"bogdaaamn/deta-deploy-action","owner":"bogdaaamn","description":"Simple GitHub Action to deploy current repo to a Deta Micro","archived":false,"fork":false,"pushed_at":"2023-06-12T09:58:29.000Z","size":14,"stargazers_count":79,"open_issues_count":4,"forks_count":17,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-19T19:53:05.207Z","etag":null,"topics":["action","cd","ci","deploy","deployment","deta","github-actions"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/deploy-to-deta","language":null,"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/bogdaaamn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-12-07T22:11:48.000Z","updated_at":"2025-02-24T21:00:00.000Z","dependencies_parsed_at":"2024-01-08T07:58:21.899Z","dependency_job_id":"738259b0-a27c-456e-b283-84453d292452","html_url":"https://github.com/bogdaaamn/deta-deploy-action","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.0625,"last_synced_commit":"829079c735ba8b7a5368a8d11b37162fee428179"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdaaamn%2Fdeta-deploy-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdaaamn%2Fdeta-deploy-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdaaamn%2Fdeta-deploy-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdaaamn%2Fdeta-deploy-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bogdaaamn","download_url":"https://codeload.github.com/bogdaaamn/deta-deploy-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250922127,"owners_count":21508279,"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":["action","cd","ci","deploy","deployment","deta","github-actions"],"created_at":"2024-08-04T01:02:01.481Z","updated_at":"2025-04-26T02:31:56.389Z","avatar_url":"https://github.com/bogdaaamn.png","language":null,"readme":"\u003e ⚠️  **Deta Cloud** as been sunset since Thursday, June 1st, 2023 at 11:59 PM. Unfortunately this project will not be maintained to support Deta Space instead. Read more about it here https://deta.space/migration/introduction\n\u003e \n\u003e There is yet one community maintained GitHub Action for Space at [space-deployment-github-action](https://github.com/neobrains/space-deployment-github-action). Otherwise checkout or ask for help on Discord https://go.deta.dev/discord\n\n# Deploy to Deta Micro\n\n\u003cp align=\"center\"\u003e\n \u003ci\u003eLots of thanks to the \u003ca href=\"https://github.com/Maxsior/BotCom\"\u003eBotCom\u003c/a\u003e folks for clarification and to the \u003cb\u003e\u003ca href=\"\"\u003eDeta\u003c/a\u003e folks\u003c/b\u003e and for all the walkthroughs and hard work! 💕\u003c/i\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/BogDAAAMN/gh-action-deta-deploy-test/actions\"\u003e\u003cimg alt=\"javscript-action status\" src=\"https://github.com/BogDAAAMN/gh-action-deta-deploy-test/workflows/Deploy%20to%20Deta/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Usage\n\nThis is a simple GitHub Action to deploy current repo to a Deta Micro. Uses `deta deploy` command to deploy the latest changes as per [documentation](https://docs.deta.sh/docs/cli/commands/#deta-deploy). \n\n## Inputs\n\n### `deta-access-token`\n\n**Required**. The access token generated by Deta. Used for `deta clone` and `deta deploy` commands.\n\nYou can generate your own access token from your [Deta account](https://web.deta.sh/home/) in order to avoid web login. Follow the Authetication documentation [here](https://docs.deta.sh/docs/cli/auth).\n\n⚠️ Be **very** sure you don't share the token or paste it in plain text! You can add it to the GitHub project's secrets as it follows:\n\n- On your project's page click on the **Settings** button;\n- Navigate to **Secrets** panel;\n- Click on **New secret**;\n- Name it `DETA_TOKEN` and paste the key there.\n\nNow you can use the key in your project's actions as `${{ secrets.DETA_TOKEN }}`. Read more about [GitHub Secrets](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets).\n\n![GitHub Visual Instructions](https://github.com/BogDAAAMN/copy-sentiment-analysis/blob/v0.6.1/_static/gif/github.gif)\n\n### `deta-name`\n\n**Required**. The name of the existing Deta Micro you are deploying to. Used for `deta clone` command in order to retrieve the latest information about the targeted Micro.\n\n### `deta-project`\n\nThe name of the Deta project your Micro is part of. Used for `deta clone` command in order to retrieve the latest information about the targeted Micro. Default `\"default\"`.\n\n### `deta-project-dir`\n\nThe name of the directory where the Deta code is located, in cases where the project is not located in the root directory. Default `.` (the root) \n\n## Example action workflow\n\n```yaml\nname: Deploy to Deta\non: push\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2 #Be sure you check-out the repo first. Deta CLI needs access to the files\n      - uses: BogDAAAMN/deta-deploy-action@v1.0.1\n        with:\n          deta-access-token: ${{ secrets.DETA_TOKEN }} #Deta access token https://docs.deta.sh/docs/cli/auth\n          deta-name: 'micro-name' #Deta Micro name https://docs.deta.sh/docs/cli/commands/#deta-clone\n          deta-project: 'project-name' #Optional: Deta project name https://docs.deta.sh/docs/cli/commands/#deta-clone\n          deta-project-dir: 'other-dir' #Optional: directory to be deployed on Deta. Default is the root \".\" \n```\n","funding_links":[],"categories":["Others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbogdaaamn%2Fdeta-deploy-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbogdaaamn%2Fdeta-deploy-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbogdaaamn%2Fdeta-deploy-action/lists"}