Remove invalid instruction from ai/sources/_theme-architecture.md #256
This file contains hidden or 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: Update 'ai/liquid.mdc' and 'data/latest.json' files | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout current repo | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: '20' | |
| cache: 'yarn' | |
| - name: Write latest sha to latest.json | |
| run: | | |
| echo -e { \"revision\": \"$(git rev-parse HEAD)\" }\\n > data/latest.json | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Generate AI file | |
| run: yarn generate:ai | |
| - name: Run git config | |
| run: | | |
| git config user.name "GitHub Actions Bot" | |
| git config user.email "<>" | |
| - name: Commit and push changes | |
| run: | | |
| if [[ -n "$(git status --porcelain)" ]]; then | |
| git add . | |
| git commit -m "Update 'ai/liquid.mdc' and 'data/latest.json' files" | |
| git push origin main | |
| else | |
| echo "No changes to commit" | |
| fi |