Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI

on: [push]

jobs:
test:
name: Test Stable Diffusion
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install Cog
run: curl -o /usr/local/bin/cog -L "https://github.com/replicate/cog/releases/latest/download/cog_$(uname -s)_$(uname -m)" && chmod +x /usr/local/bin/cog
- name: Cog login"
run: echo "${{ secrets.COG_LOGIN_TOKEN }}" | cog login --token-stdin
- name: Download weights
run: cog run script/download-weights
- name: Push to CI model on Replicate
run: cog push r8.im/replicate/stable-diffusion-ci