Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yc-actions/yc-cdn-cache
GitHub Action to purge Yandex Cloud CDN cache.
https://github.com/yc-actions/yc-cdn-cache
actions cdn github-actions yandex-cloud
Last synced: about 2 months ago
JSON representation
GitHub Action to purge Yandex Cloud CDN cache.
- Host: GitHub
- URL: https://github.com/yc-actions/yc-cdn-cache
- Owner: yc-actions
- License: mit
- Created: 2021-11-01T08:57:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T02:39:29.000Z (9 months ago)
- Last Synced: 2024-04-08T03:38:33.588Z (9 months ago)
- Topics: actions, cdn, github-actions, yandex-cloud
- Language: TypeScript
- Homepage:
- Size: 2.58 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## GitHub Action to purge Yandex Cloud CDN cache.
The action purges cache for the given CDN resource in Yandex Cloud.
**Table of Contents**
- [Usage](#usage)
- [Permissions](#permissions)
- [License Summary](#license-summary)## Usage
```yaml
- name: Purge CDN cache
id: purge-cache
uses: yc-actions/yc-cdn-cache@v1
with:
yc-sa-json-credentials: ${{ secrets.YC_SA_JSON_CREDENTIALS }}
cdn-resource-id: bc8********
```
`yc-sa-json-credentials` should contain JSON with authorized key for Service Account. More info in [Yandex Cloud IAM documentation](https://cloud.yandex.ru/docs/container-registry/operations/authentication#sa-json).See [action.yml](action.yml) for the full documentation for this action's inputs and outputs.
## Permissions
To perform this action, it is required that the service account on behalf of which we are acting has granted the `cdn.editor` role or greater.
## License Summary
This code is made available under the MIT license.