created figma assistance and also created huggingFace space for it
This commit is contained in:
28
week2/community-contributions/Figma_assistance/.github/workflows/update_space.yml
vendored
Normal file
28
week2/community-contributions/Figma_assistance/.github/workflows/update_space.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Run Python script
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- figma_assistance
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.9'
|
||||
|
||||
- name: Install Gradio
|
||||
run: python -m pip install gradio
|
||||
|
||||
- name: Log in to Hugging Face
|
||||
run: python -c 'import huggingface_hub; huggingface_hub.login(token="${{ secrets.hf_token }}")'
|
||||
|
||||
- name: Deploy to Spaces
|
||||
run: gradio deploy
|
||||
Reference in New Issue
Block a user