{"id":15013163,"url":"https://github.com/tauri-apps/actions-netlify","last_synced_at":"2025-10-06T07:30:28.241Z","repository":{"id":65978584,"uuid":"570859074","full_name":"tauri-apps/actions-netlify","owner":"tauri-apps","description":"🚀 Netlify deploy from GitHub Actions","archived":false,"fork":true,"pushed_at":"2024-06-05T05:10:49.000Z","size":26250,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2024-10-29T21:06:03.122Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"nwtgck/actions-netlify","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tauri-apps.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}},"created_at":"2022-11-26T11:12:25.000Z","updated_at":"2024-04-02T08:22:56.000Z","dependencies_parsed_at":"2023-02-19T19:30:29.938Z","dependency_job_id":null,"html_url":"https://github.com/tauri-apps/actions-netlify","commit_stats":{"total_commits":334,"total_committers":22,"mean_commits":"15.181818181818182","dds":"0.45808383233532934","last_synced_commit":"95d67b553a527c15994bfe6c746ad56b8227b65b"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Factions-netlify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Factions-netlify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Factions-netlify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tauri-apps%2Factions-netlify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tauri-apps","download_url":"https://codeload.github.com/tauri-apps/actions-netlify/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235270323,"owners_count":18963225,"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-09-24T19:43:50.526Z","updated_at":"2025-10-06T07:30:21.716Z","avatar_url":"https://github.com/tauri-apps.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# actions-netlify\n![build-test](https://github.com/nwtgck/actions-netlify/workflows/build-test/badge.svg)\n\nGitHub Actions for deploying to Netlify\n\n\u003cimg src=\"doc_assets/deploy-url-comment.png\" width=\"650\"\u003e\n\nDeploy URLs are commented on your pull requests and commit comments!\n\n\u003cimg src=\"doc_assets/github-deployment.png\" width=\"650\"\u003e\n\nGitHub Deployments are also supported!\n\n## Usage\n\n```yaml\n# .github/workflows/netlify.yml\nname: Build and Deploy to Netlify\non:\n  push:\n  pull_request:\njobs:\n  build:\n    runs-on: ubuntu-18.04\n    steps:\n      - uses: actions/checkout@v2\n\n      # ( Build to ./dist or other directory... )\n\n      - name: Deploy to Netlify\n        uses: nwtgck/actions-netlify@v1.2\n        with:\n          publish-dir: './dist'\n          production-branch: master\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          deploy-message: \"Deploy from GitHub Actions\"\n          enable-pull-request-comment: false\n          enable-commit-comment: true\n          overwrites-pull-request-comment: true\n        env:\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n        timeout-minutes: 1\n```\n\n\n### Required inputs and env\n- `publish-dir` (e.g. \"dist\", \"_site\")\n- `NETLIFY_AUTH_TOKEN`: [Personal access tokens](https://app.netlify.com/user/applications#personal-access-tokens) \u003e New access token\n- `NETLIFY_SITE_ID`: team page \u003e your site \u003e Settings \u003e Site details \u003e Site information \u003e API ID\n  - NOTE: API ID is `NETLIFY_SITE_ID`.\n\n### Optional inputs\n- `production-branch` (e.g. \"master\")\n- `production-deploy`: Deploy as Netlify production deploy (default: false)\n- `github-token: ${{ secrets.GITHUB_TOKEN }}`\n- `deploy-message` A custom deploy message to see on Netlify deployment (e.g. `${{ github.event.pull_request.title }}`)\n- `enable-pull-request-comment: true` Comment on pull request (default: true)\n- `enable-commit-comment: true` Comment on GitHub commit (default: true)\n- `enable-commit-status: true` GitHub commit status (default: true)\n- `overwrites-pull-request-comment: true` Overwrites comment on pull request (default: true)\n- `netlify-config-path: ./netlify.toml` Path to `netlify.toml` (default: undefined)\n- `functions-dir` Netlify functions output directory (default: undefined)\n- `alias` Specifies the prefix for the deployment URL, must not have uppercase or special characters (default: Netlify build ID)\n  - `alias: ${{ github.head_ref }}` replicates the [branch deploy prefix](https://docs.netlify.com/site-deploys/overview/#definitions)\n  - `alias: deploy-preview-${{ github.event.number }}` replicates the [deploy preview prefix](https://docs.netlify.com/site-deploys/overview/#definitions)\n- `github-deployment-environment` Environment name of GitHub Deployments\n- `github-deployment-description` Description of the GitHub Deployment\n- `fails-without-credentials` Fails if no credentials provided (default: false)\n\n### Paths are relative to the project's root\nAll paths (eg, `publish-dir`, `netlify-config-path`, `functions-dir`) are relative to the project's root or absolute paths.\n\n### Outputs\n- `deploy-url` A deployment URL generated by Netlify\n\n## Build on local\n\n```bash\nnpm ci\nnpm run all\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftauri-apps%2Factions-netlify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftauri-apps%2Factions-netlify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftauri-apps%2Factions-netlify/lists"}