New video, microphone & mute icons #20
Workflow file for this run
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: 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 |