A GitHub action which generates a static version file with environment, version, and last commit properties at the given output directory.
REQUIRED The name of the deployment environment.
REQUIRED The version number of the current release.
The output directory for the version.json file. Default is public.
uses: switcherstudio/create-version-file@master
with:
environment: 'dev'
version: '1.0'