Correctly reference code set readme json #9
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: Check for modified files | |
# id: git-check | |
# run: echo ::set-output name=modified::$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi) | |
# - name: Update changes in GitHub repository 🚀 | |
# if: steps.git-check.outputs.modified == 'true' | |
# run: | | |
# git config user.name "github-actions" | |
# git config user.email "<>" | |
# git add -A | |
# git commit -m '[automated commit] JSON creation for github pages' | |
# git push |