{"id":21626578,"url":"https://github.com/formspree/cli-action","last_synced_at":"2025-04-11T12:46:21.090Z","repository":{"id":65155478,"uuid":"312496225","full_name":"formspree/cli-action","owner":"formspree","description":"Automate deployments of your formspree.json configurations with Formspree CLI and GitHub actions","archived":false,"fork":false,"pushed_at":"2020-12-28T16:18:53.000Z","size":2,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-25T09:03:32.774Z","etag":null,"topics":["continuous-integration","jamstack","serverless"],"latest_commit_sha":null,"homepage":"https://formspree.io/javascript","language":"Shell","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/formspree.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}},"created_at":"2020-11-13T06:52:10.000Z","updated_at":"2024-05-17T16:51:15.000Z","dependencies_parsed_at":"2023-01-05T13:20:13.947Z","dependency_job_id":null,"html_url":"https://github.com/formspree/cli-action","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"1d71da19bad472d24581b7034f46ee74048b594a"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formspree%2Fcli-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formspree%2Fcli-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formspree%2Fcli-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formspree%2Fcli-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formspree","download_url":"https://codeload.github.com/formspree/cli-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248402545,"owners_count":21097331,"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":["continuous-integration","jamstack","serverless"],"created_at":"2024-11-25T01:13:42.898Z","updated_at":"2025-04-11T12:46:21.054Z","avatar_url":"https://github.com/formspree.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Formspree CLI GitHub Action\n⚡️ Automate your Formspree deployment using the Formspree CLI with GitHub Actions.\n\n## Usage\nCreate a new file `/.github/workflows/formspree.yml` with the following:\n\n```yaml\nname: Formspree Deployment\n\non:\n  push:\n    branches:\n    - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Deploy\n      uses: formspree/cli-action@main\n      with:\n        deployKey: ${{ secrets.FORMSPREE_DEPLOY_KEY }}\n\n\n```\n\n## Authentication\nTo use the Formspree CLI, you need to create a [CLI project](https://help.formspree.io/hc/en-us/articles/360053819114-The-Formspree-CLI).\n\nOnce you have created a project on the dashboard, you'll receive a deploy key. You'll want to add this to GitHub's secrets.\nIn your repository, go to **Settings** -\u003e **Secrets** and add your deploy key. GitHub encrypts this token, and it won't be printed in the logs, so even for a public repository it won't be accessible to the world.\n\nWe need to include the authentication information in the `with` block of the action. If you've named the secret, `FORMSPREE_DEPLOY_KEY`, it would look like:\n```yaml\njobs:\n  deploy:\n    steps:\n      uses: formspree/cli-action@main\n      with:\n        deployKey: ${{ secrets.FORMSPREE_DEPLOY_KEY }}\n```\n\n## FAQ\n### Why do I need this?\nIf you are using the Formspree CLI, use our [quick start guide](https://help.formspree.io/hc/en-us/articles/360053819114-The-Formspree-CLI).\nOnce you're ready to push your site live, you might want to automatically deploy new forms as you change the project.\nUsing this action, you can configure your site without ever leaving your terminal.\n\n### My forms aren't showing up on my dashboard\nFirst, look at the GitHub Actions logs and see if there's an error.\nIf you still can't find anything, [open a ticket](https://formspr.ee/request) with our support team and we'd be happy to look into it.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformspree%2Fcli-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fformspree%2Fcli-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformspree%2Fcli-action/lists"}