Skip to content

feat: celery & flower #15

feat: celery & flower

feat: celery & flower #15

Workflow file for this run

name: Pull
on:
push:
branches:
- main
jobs:
pull:
runs-on: ubuntu-latest
steps:
- name: Pull the git repository with ssh
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: |
if [ -d ${{ vars.PROJECT_DIR }}/.git ]; \
then git -C ${{ vars.PROJECT_DIR }} pull; \
else git clone ${{ github.server_url }}/${{ github.repository }} ${{ vars.PROJECT_DIR }} && \
make -C ${{ vars.PROJECT_DIR }} init; fi