From dd44a570b3d2c37104525c4d64d8b7b893cc3674 Mon Sep 17 00:00:00 2001 From: Atharva Mulmuley Date: Thu, 29 Apr 2021 15:35:23 +0530 Subject: [PATCH] exploring actions directory structure --- .github/workflows/main.yml | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9ba5d11a..6102c300 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,23 +34,11 @@ jobs: token: '${{ secrets.SA_TOKEN }}' - run: | kubectl get pods -A - build-2: - # The type of runner that the job will run on - #runs-on: ubuntu-latest - runs-on: self-hosted - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - - uses: atharvamulmuley/k8s-set-context@cluster-connect-2 - with: - method: 'SPN' - cluster-type: 'arc' - creds: '${{ secrets.AZURE_CREDS }}' - cluster-name: arcaction - resource-group: atharvatest2 - token: '${{ secrets.SA_TOKEN }}' + ls + pwd + echo 'hello world' > temp.txt + ls - run: | - kubectl get pods -A \ No newline at end of file + kubectl get pods -A + ls + pwd \ No newline at end of file