Skip to content

New video, microphone & mute icons #20

New video, microphone & mute icons

New video, microphone & mute icons #20

name: Keywords autogenerated
on:
workflow_dispatch:
pull_request:
branches:
- production
paths:
- "icons/**"
jobs:
generate-keywords:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Upgrade pip, setuptools, and wheel
run: |
pip install --upgrade pip setuptools wheel
# Paso 3: Instalar dependencias de Python
- name: Install dependencies
run: |
pip install openai python-dotenv --use-pep517
- name: Install prettier
run: npm install -g prettier
- name: Run keywords generator
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: python3 .github/keywords/keywords-generator.py
- name: Commit & Push in import-figma-icons
run: |
git add .
git config user.name "github-actions"
git config user.email "github-actions[bot]@users.noreply.github.com"
git commit -am "update changelog"
git push origin import-figma-icons