Transform #7
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: Transform | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| parse-basic-items: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '20' | |
| - name: Run Script | |
| run: | | |
| rm -rf ./neu | |
| git clone --depth 1 https://github.com/NotEnoughUpdates/NotEnoughUpdates-REPO.git ./neu | |
| node .github/scripts/parsers/parse.mjs | |
| - name: Commit and push changes | |
| run: | | |
| git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git config --global user.name "github-actions[bot]" | |
| git add . | |
| git commit -m "Update Repository" | |
| git push |