-
Notifications
You must be signed in to change notification settings - Fork 53
37 lines (32 loc) · 903 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Push to Replicate
on:
workflow_dispatch:
inputs:
model_name:
required: true
description: "thomasmol/whisper-diarization"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Check out code
uses: actions/checkout@v3
- name: Setup Cog
uses: replicate/setup-cog@v1.0.2
with:
token: ${{ secrets.REPLICATE_API_TOKEN }}
- name: Push to Replicate
run: |
cog push r8.im/${{ inputs.model_name }}