Skip to content

Commit 8ff2234

Browse files
committed
Merge two workflows
1 parent 3dc7db7 commit 8ff2234

File tree

2 files changed

+13
-32
lines changed

2 files changed

+13
-32
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/publish.yml renamed to .github/workflows/publish_and_deploy.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,16 @@ jobs:
3838
platforms: linux/amd64,linux/arm64
3939
push: true
4040
tags: activitypods/shapes:latest
41+
42+
- name: Deploy to shapes.activitypods.org
43+
uses: appleboy/ssh-action@v1.0.3
44+
with:
45+
host: shapes.activitypods.org
46+
username: ${{ secrets.USERNAME }}
47+
key: ${{ secrets.PRIVATE_KEY }}
48+
port: 22
49+
script: |
50+
cd apps
51+
docker system prune --force
52+
docker compose build shapes
53+
docker compose up -d shapes

0 commit comments

Comments
 (0)