diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9a2e9ac..4faa498 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -48,27 +48,3 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - # deploy-to-cluster: - # runs-on: ubuntu-latest - # needs: build-and-push-image - # steps: - # Install DO CLI - # - name: Install doctl - # uses: digitalocean/action-doctl@v2 - # with: - # token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} - - # - name: Log in to DigitalOcean Container Registry with short-lived credentials - # run: doctl registry login --expiry-seconds 1200 - # - name: Update deployment file - # run: TAG=$(echo $GITHUB_SHA | head -c7) && sed -i 's||${{ secrets.REGISTRY_NAME }}/${{ env.IMAGE_NAME }}:'${TAG}'|' $GITHUB_WORKSPACE/config/deployment.yml - - # - name: Save DigitalOcean kubeconfig with short-lived credentials - # run: doctl kubernetes cluster kubeconfig save --expiry-seconds 600 ${{ secrets.CLUSTER_NAME }} - - # - name: Deploy to DigitalOcean Kubernetes - # run: kubectl apply -f $GITHUB_WORKSPACE/config/deployment.yml - - # - name: Verify deployment - # run: kubectl rollout status deployment/${{ env.IMAGE_NAME }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 81ac0d0..acbafdb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,3 @@ jobs: - name: Install dependencies run: npm ci - - # - name: Run tests - # run: npm run test:run