diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index b2ebf03..2c678d3 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -1,36 +1,36 @@ -name: Deploy +# name: Deploy -on: - push: - branches: - - main +# on: +# push: +# branches: +# - main -jobs: - deploy: - name: Deploy to pre-production - runs-on: docker - steps: - - name: Checkout code - run: | - git clone --depth 1 --branch main https://forge.studio-variable.com/${{ github.repository }}.git . - ls -la +# jobs: +# deploy: +# name: Deploy to pre-production +# runs-on: docker +# steps: +# - name: Checkout code +# run: | +# git clone --depth 1 --branch main https://forge.studio-variable.com/${{ github.repository }}.git . +# ls -la - - name: Deploy via FTP - env: - USERNAME: ${{ secrets.USERNAME }} - PASSWORD: ${{ secrets.PASSWORD }} - PRODUCTION_HOST: ${{ secrets.PRODUCTION_HOST }} - run: | - apt-get update -qq && apt-get install -y -qq lftp - cat > /tmp/lftp-script.txt <