diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 51c7e71f2..de69f4d4e 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -80,6 +80,7 @@ jobs: destination: releases.rancher.com/kontainer-driver-metadata/${{ github.ref_name }} parent: false predefinedAcl: publicRead + process_gcloudignore: false headers: |- cache-control: public,no-cache,proxy-revalidate @@ -101,5 +102,6 @@ jobs: secret/data/github/repo/${{ github.repository }}/github-token/credentials token | PAT_TOKEN - name: Run dispatch run: | - echo ${{ env.PAT_TOKEN }} | gh auth login --with-token - gh workflow run "Go Generate" --repo rancher/rke --ref release/v1.4 -F source_author=${{ github.actor }} \ No newline at end of file + gh workflow run "Go Generate" --repo rancher/rke --ref release/v1.4 -F source_author=${{ github.actor }} + env: + GH_TOKEN: ${{ env.PAT_TOKEN }} \ No newline at end of file