diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index 21a0ff25..cded8cf1 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -43,18 +43,3 @@ jobs: platforms: linux/amd64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - deploy-staging: - name: Deploy to staging - if: github.event_name == 'push' && github.ref_name == 'main' - runs-on: ubuntu-latest - needs: - - build - steps: - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.STAGING_SSH_KEY }} - known_hosts: ${{ secrets.STAGING_KNOWN_HOSTS }} - - name: Deploy - run: ssh -t ${{ secrets.STAGING_DEPLOY_USER }}@${{ secrets.STAGING_DEPLOY_HOST }} "sudo sh /srv/portfolio/deploy.sh portfolio"