We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05496d2 commit 21f6b59Copy full SHA for 21f6b59
.github/workflows/ci.yaml
@@ -0,0 +1,16 @@
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: "Push to CI model on Replicate"
16
+ run: "cog push r8.im/replicate/stable-diffusion-ci"
0 commit comments