Add alwest.org Pod provider #51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 apps | |
| docker system prune --force | |
| docker compose build activitypods-website | |
| docker compose up -d activitypods-website |