We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05496d2 commit 2c7137dCopy full SHA for 2c7137d
.github/workflows/ci.yaml
@@ -0,0 +1,18 @@
1
+name: CI
2
+
3
+on: [push]
4
5
+jobs:
6
+ test:
7
+ name: Test Stable Diffusion
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@master
11
+ - name: Install Cog
12
+ 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
13
+ - name: Cog login"
14
+ run: echo "${{ secrets.COG_LOGIN_TOKEN }}" | cog login --token-stdin
15
+ - name: Download weights
16
+ run: cog run script/download-weights
17
+ - name: Push to CI model on Replicate
18
+ run: cog push r8.im/replicate/stable-diffusion-ci
0 commit comments