https://github.com/michaelcontento/credly-import-action
Import certificates from Credly into repo
https://github.com/michaelcontento/credly-import-action
credly
Last synced: about 1 year ago
JSON representation
Import certificates from Credly into repo
- Host: GitHub
- URL: https://github.com/michaelcontento/credly-import-action
- Owner: michaelcontento
- License: mit
- Created: 2022-12-22T14:26:04.000Z (over 3 years ago)
- Default Branch: v1
- Last Pushed: 2024-12-09T06:11:49.000Z (over 1 year ago)
- Last Synced: 2025-03-24T04:43:41.817Z (over 1 year ago)
- Topics: credly
- Language: Shell
- Homepage:
- Size: 26.4 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# credly-import-action v1
This action will download a given users certificates and badges from [Credly] and stores them within the current repository as **(a)** JSON file and **(b)** badges as image raw image file.
## Usage
See [action.yaml](action.yaml), but basically:
```yaml
- uses: michaelcontento/credly-import-action@v1
with:
# The user of whom we want to grab the infos
name: michael-contento
```
By default this action will store the following files:
- JSON file containting informations about all available certifications
- `CredlyBadges.json`
- A folder full of images
- `CredlyBadges/*`
## Custom paths
If you want to change the path where the JSON file and/or the images are stored, use `datafile` and/or `imagedir` - like:
```yaml
- uses: michaelcontento/credly-import-action@v1
with:
name: michael-contento
datafile: data/CustomFile.json
# Final path: ./data/CustomFile.json
imagedir: ima/ges
# Final path: ./ima/ges/*
```
## Skipping image downloading
If you don't want to store the badge images locally, just the `skip_image_downloading` option like so:
```yaml
- uses: michaelcontento/credly-import-action@v1
with:
name: michael-contento
skip_image_downloading: 1
# Only the ./CredlyBadges.json file will be created
```
## License
MIT licensed, see [LICENSE.md](./LICENSE.md) for full details.
[Credly]: https://info.credly.com/