Skip to content

Commit

Permalink
chore: cleanup dead workflow code
Browse files Browse the repository at this point in the history
  • Loading branch information
zenlex committed Apr 27, 2024
1 parent 0eec84c commit ef2e960
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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|<IMAGE>|${{ 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 }}
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ jobs:

- name: Install dependencies
run: npm ci

# - name: Run tests
# run: npm run test:run

0 comments on commit ef2e960

Please sign in to comment.