Skip to content

Deploy job: add docker system prune to save disk space #28

Deploy job: add docker system prune to save disk space

Deploy job: add docker system prune to save disk space #28

Workflow file for this run

name: Deploy activitypods.org
on:
push:
branches: [master]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands
uses: appleboy/[email protected]
with:
host: activitypods.org
username: ${{ secrets.USERNAME }}
key: ${{ secrets.PRIVATE_KEY }}
port: 22
script: |
cd mypod.store
docker system prune
docker compose build activitypods-website
docker compose up -d activitypods-website