Skip to content

Commit

Permalink
fix/prod-path
Browse files Browse the repository at this point in the history
  • Loading branch information
omidasadpour committed Dec 5, 2023
1 parent 8f9cafd commit a19edee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ jobs:
run: doctl kubernetes cluster kubeconfig save --expiry-seconds 600 ${{ secrets.K8S_PROD }}

- name: Update docker image name
run: TAG=${{ env.name }}-$(echo $GITHUB_SHA | head -c7) && sed -i 's|<IMAGE>|dappforce/subsocial-aggregation:'${TAG}'|' $GITHUB_WORKSPACE/deployment/prod/core/deploy.yaml
run: TAG=${{ env.name }}-$(echo $GITHUB_SHA | head -c7) && sed -i 's|<IMAGE>|dappforce/subsocial-aggregation:'${TAG}'|' $GITHUB_WORKSPACE/deployment/prod/deploy.yaml

- name: Deploy to DigitalOcean Kubernetes
run: |
kubectl apply -f $GITHUB_WORKSPACE/deployment/prod/core/all.yaml
kubectl apply -f $GITHUB_WORKSPACE/deployment/prod/core/deploy.yaml
kubectl apply -f $GITHUB_WORKSPACE/deployment/prod/all.yaml
kubectl apply -f $GITHUB_WORKSPACE/deployment/prod/deploy.yaml
- name: Verify deployment
run: kubectl -n sub-id rollout status deployment/aggregation

0 comments on commit a19edee

Please sign in to comment.