# GitHub Actions

Table of Contents

Description of all GitHub Actions used in the remote api3dao/api3-docs repo, .github/workflows (opens new window).

# lychee

This action checks all local and external markdown hyperlinks as well as images (including <img> tags) in all production version folders and the /dev folder. While there is a lychee-action (opens new window) on the Action Marketplace, as of this writing the current release lacked key features. Instead, this action installs lycheeverse/lychee (opens new window) from a specific commit and caches that installation for fast execution.

# Firebase

The firebase-deployment.yml (opens new window) Action provides docs site branch deployments so developers can preview how their documentation will look once live in production. The Action includes a series of build and deploy steps followed by a github-script step that comments on the push commit or PR with the deployment URL. Deployed sites are automatically deleted after 30 days of inactivity on the branch.

# Scheduled config PR (currently disabled)

To keep the docs current, this daily action pulls config files from the airnode repo and uses the peter-evans/create-pull-request@v3 (opens new window) marketplace action to automatically create a PR in this repo if the files have changed. The matrix strategy using the variable vdocs, for the docs version, aims to support the addition of future versions without the need for additional curl commands.

Last Updated: 8/9/2022, 2:28:25 PM