diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a090519cdc..c85fde0b42 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -478,12 +478,6 @@ jobs: uses: ishworkh/docker-image-artifact-download@v1 with: image: "geotrek:latest" - - name: Attach debian packages as release binaries - uses: skx/github-action-publish-binaries@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - args: '*.deb' - name: Login to Docker Hub uses: docker/login-action@v2 with: @@ -515,19 +509,3 @@ jobs: with: key: ${{ secrets.SSH_PRIVATE_KEY }} known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} - - name: Publish debian packages - run: | - if [[ "${{ github.ref }}" == *"dev"* ]]; then - export DEB_COMPONENT=dev - else - export DEB_COMPONENT=main - fi - echo "${{ github.ref }} : Publishing as $DEB_COMPONENT package" - scp -P ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no /home/runner/work/Geotrek-admin/Geotrek-admin/geotrek-admin_*_amd64.deb ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/srv/packages/incoming/$DEB_COMPONENT/ - if [[ "${{ github.ref }}" == *"dev"* ]]; then - ssh -p ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} make bionic_dev -C /srv/packages - ssh -p ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} make focal_dev -C /srv/packages - else - ssh -p ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} make bionic_main -C /srv/packages - ssh -p ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} make focal_main -C /srv/packages - fi