Skip to content

check out repo

check out repo #3

name: Daily Build Embeddings
env:
DIFFUSERS_SLOW_IMPORT: yes
on:
push:
schedule:
- cron: "5 7 * * *" # every day at 07:05
# to run this workflow manually from the Actions tab
workflow_dispatch:
# Steps
# for i in list:
# git clone
# install
# build embeddings
jobs:
matrix-job:
runs-on: ubuntu-latest
strategy:
max-parallel: 1 # run the matrix jobs sequentially
matrix:
include:
- repo_id: huggingface/diffusers
doc_folder: 14
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
timeout-minutes: 360 # Set timeout to 6 hours
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
repository: ${{ matrix.repo_id }}
cleanup-job:
needs: matrix-job
runs-on: ubuntu-latest
steps:
- name: Run cleanup steps
run: |
echo "Performing cleanup tasks"
# Add your cleanup commands here