{"id":13533463,"url":"https://github.com/feeloor/azure-static-website-deploy","last_synced_at":"2025-10-06T00:06:37.717Z","repository":{"id":41852273,"uuid":"208490025","full_name":"feeloor/azure-static-website-deploy","owner":"feeloor","description":"Deploys static website to Azure Storage","archived":false,"fork":false,"pushed_at":"2022-04-26T16:02:53.000Z","size":10,"stargazers_count":17,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T23:19:59.430Z","etag":null,"topics":["actions","azure","azure-storage","ci","deployment","github-actions","static-website"],"latest_commit_sha":null,"homepage":null,"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/feeloor.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":"2019-09-14T19:05:54.000Z","updated_at":"2023-11-07T12:52:28.000Z","dependencies_parsed_at":"2023-01-11T17:22:08.806Z","dependency_job_id":null,"html_url":"https://github.com/feeloor/azure-static-website-deploy","commit_stats":{"total_commits":12,"total_committers":4,"mean_commits":3.0,"dds":"0.33333333333333337","last_synced_commit":"f649dcdeaa1b1bda54a22e167d73ec8c8aa7b224"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feeloor%2Fazure-static-website-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feeloor%2Fazure-static-website-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feeloor%2Fazure-static-website-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feeloor%2Fazure-static-website-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feeloor","download_url":"https://codeload.github.com/feeloor/azure-static-website-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235733804,"owners_count":19036958,"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":["actions","azure","azure-storage","ci","deployment","github-actions","static-website"],"created_at":"2024-08-01T07:01:20.076Z","updated_at":"2025-10-06T00:06:32.697Z","avatar_url":"https://github.com/feeloor.png","language":"Shell","funding_links":[],"categories":["Community Resources","Uncategorized"],"sub_categories":["Deployment","Uncategorized"],"readme":"# GitHub Action to Upload to Azure Storage\n\n\u003e **⚠️ Note:** To use this action, you must have access to the [GitHub Actions](https://github.com/features/actions) feature.\n\nThis action is designed to use the [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest) to enable static website and upload a directory of your choice to your Azure Storage account.\n\n## Usage\n\n### Example\n\nPlace in a `.yml` file such as this one in your `.github/workflows` folder. [Refer to the documentation on workflow YAML syntax here.](https://help.github.com/en/articles/workflow-syntax-for-github-actions)\n\n```yaml\nname: Upload To Azure\non: push\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - uses: feeloor/azure-static-website-deploy@master\n        env:\n          SOURCE_DIR: \"./public\"\n          AZURE_CLIENT_ID: \"\u003cazure-client-id\u003e\"\n          AZURE_TENANT_ID: \"\u003cazure-tenant-id\u003e\"\n          AZURE_SECRET: \"\u003cazure-secret\u003e\"\n          AZURE_SUBSCRIPTION_ID: \"\u003cazure-subscription-id\u003e\"\n          AZURE_STORAGE_ACCOUNT_NAME: \"\u003cazure-storage-account-name\u003e\"\n          AZURE_INDEX_DOCUMENT_NAME: \"\u003cindex-document-name\u003e\"\n          AZURE_ERROR_DOCUMENT_NAME: \"\u003cerror-document-name\u003e\"\n          FORCE_OVERWRITE: \"true\"\n```\n\n### Required Variables\n\n| Key | Value | Type | Required |\n| ------------- | ------------- | ------------- | ------------- |\n| `SOURCE_DIR` | The name of the directory you want to upload | `env` | **Yes** |\n| `AZURE_CLIENT_ID` | Your Azure Client ID. | `secret` | **Yes** |\n| `AZURE_SECRET` | Your Azure Secret. | `secret` | **Yes** |\n| `AZURE_TENANT_ID` | Your Azure Tenant ID. | `secret` | **Yes** |\n| `AZURE_SUBSCRIPTION_ID` | Your Azure Subscription ID. | `secret` | **Yes** |\n| `AZURE_STORAGE_ACCOUNT_NAME` | Your Azure Storage Account Name. | `secret` | **Yes** |\n| `AZURE_INDEX_DOCUMENT_NAME` | The index document that you specify when you enable static website hosting, appears when users open the site and don't specify a specific file. [More Information Here](https://docs.microsoft.com/en-US/azure/storage/blobs/storage-blob-static-website#viewing-content) | `env` | **Yes** |\n| `AZURE_ERROR_DOCUMENT_NAME` | If the server returns a 404 error, and you have not specified an error document when you enabled the website, then a default 404 page is returned to the user. [More Information Here](https://docs.microsoft.com/en-US/azure/storage/blobs/storage-blob-static-website#viewing-content) | `secret` | **No** |\n| `FORCE_OVERWRITE` | If the uploaded file already exists, by default the AZ CLI (since March 2022) will **not** uploads the file. It is possible to force the upload. [More Information Here](https://github.com/Azure/azure-cli/issues/21477) | `env` | **No** |\n\n\n\n## License\n\nThis project is distributed under the [MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeeloor%2Fazure-static-website-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeeloor%2Fazure-static-website-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeeloor%2Fazure-static-website-deploy/lists"}