Creating the json files for github-pages 🚀 #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create json | |
run-name: Creating the json files for github-pages 🚀 | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
Create-Code-Set-Readme-JSON: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Parse files and extract json | |
run: node tools/code-set-lookup/index.js | |
- name: Deploy 🚀 | |
run: | | |
git config user.name "github-actions" | |
git config user.email "<>" | |
git add . | |
git commit -m "Automated JSON creation for github pages" | |
git push |