Skip to content

Credly to Hugo importer

Actions
Fetches a single users badges from Credly and stores them as Hugo data file
v1.0.1
Latest
Star (0)

credly2hugo v1

This action will download a given users certificates and badges from Credly and stores them within the current repository as (a) JSON Hugo Data File and (b) badges as image raw image file.

Usage

See action.yaml, but basically:

- uses: michaelcontento/credly2hugo-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
    • data/CredlyBadges.json
  • The raw JSON file retrieved from Credly with all infos
    • data/CredlyBadgesRaw.json
  • A folder full of images
    • assets/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:

- uses: michaelcontento/credly2hugo-action@v1
  with:
    name: michael-contento
    datafile: CustomFile.json
    # Final path:     ./data/CustomFile.json
    # Final path raw: ./data/CustomFileRaw.json
    imagedir: foo/bar
    # Final path:     ./assets/foo/bar/*

Credly to Hugo importer is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Fetches a single users badges from Credly and stores them as Hugo data file
v1.0.1
Latest

Credly to Hugo importer is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.