Skip to content

Commit

Permalink
Update update_space_2.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
david-oplatka authored Jul 3, 2024
1 parent 784cc4e commit 5fdc991
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/update_space_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,19 @@ jobs:

strategy:
matrix:
space_name: [company-pet-policy, about-mls, shakespeare] # List your Hugging Face space names here
include:
- space_name: company-pet-policy
space_title: "Vectara pet policy"
space_description: "Ask questions about our unique pet policy"

- space_name: about-mls
space_title: "About MLS"
space_description: "Ask questions from the MLS About section"

- space_name: shakespeare
space_title: "Shakespeare and His Plays"
space_description: "Ask some basic questions about Shakespeare's work"


steps:
- name: Checkout Source Repository
Expand Down Expand Up @@ -43,7 +55,8 @@ jobs:
- name: commit changes
run: |
cd $RUNNER_TEMP/spaces/${{ matrix.space_name }}
sed -i 's/title: "Enter Chatbot Title"/title: "My Title 2"/g' README.md
sed -i 's/title: "Enter Chatbot Title"/title: ${{ matrix.space_name }}/g' README.md
sed -i 's/short_description: "Enter Description Here"/short_description: ${{ matrix.space_name }}/g' README.md
git add .
git commit -m "Sync updates from source repository" || echo "No changes to commit"
Expand Down

0 comments on commit 5fdc991

Please sign in to comment.