mirror of
https://github.com/Axorax/awesome-free-apps.git
synced 2025-12-29 16:14:53 +00:00
28 lines
658 B
YAML
28 lines
658 B
YAML
name: Renew categories
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
run-node-script:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '22'
|
|
|
|
- name: Run command
|
|
run: node index.js --categorize
|
|
|
|
- name: Commit and push changes
|
|
run: |
|
|
git config user.name "github-actions[bot]"
|
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
git add .
|
|
git commit -m "Update: Categorize" || echo "No changes to commit"
|
|
git push
|