Remove ollama until a release with fixes is made #198
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: Update Plugin Repository | |
on: | |
push: | |
paths: | |
- 'listing.json' | |
workflow_dispatch: | |
inputs: | |
message: | |
description: 'automatically update readme and plugin.json based on updates and latest listing' | |
required: true | |
jobs: | |
run: | |
name: Update Plugins.json | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Run Generator | |
env: | |
URL_SHORTENER: ${{ secrets.URL_SHORTENER }} | |
run: python3 generate_index.py ${{ secrets.M_GITHUB_TOKEN }} | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: ${{ github.actor }} | |
author_email: [email protected] | |
message: ${{ inputs.message }} | |
add: '["*.json", "*.md"]' | |
- name: Report Status | |
if: always() | |
uses: ravsamhq/notify-slack-action@v1 | |
with: | |
status: ${{ job.status }} | |
notify_when: 'failure' | |
notification_title: '{workflow} has {status_message}' | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }} |