diff --git a/.gitea/workflows/runner.yaml b/.gitea/workflows/runner.yaml index 8fdbb81..a368c15 100644 --- a/.gitea/workflows/runner.yaml +++ b/.gitea/workflows/runner.yaml @@ -13,13 +13,19 @@ jobs: uses: actions/checkout@v4 - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} - name: Perform kubectl tasks uses: actions-hub/kubectl@master env: KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} with: - args: apply -k . - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} + args: apply -f . + - name: Check the kubectl tasks + uses: actions-hub/kubectl@master + env: + KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} + with: + args: get deploy - run: echo "🍏 This job's status is ${{ job.status }}."