kubectl
kubectl copied to clipboard
How to pass manifest file to command
I am trying to create job like this:
apply-resources:
runs-on: ubuntu-latest
environment: ${{ inputs.env }}
needs: apply-resources
steps:
- uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with:
args: apply -f src/k8s/services/my-service.yml
but getting error that file does not exist.
Is it possible to pass manifest file here somehow?