andrew
andrew
RRunPod
Created by andrew on 12/19/2023 in #⚡|serverless
error with github workflow
ty
7 replies
RRunPod
Created by andrew on 12/19/2023 in #⚡|serverless
error with github workflow
i have all my secrets setup in my repo
7 replies
RRunPod
Created by andrew on 12/19/2023 in #⚡|serverless
error with github workflow
here is my config
7 replies
RRunPod
Created by andrew on 12/19/2023 in #⚡|serverless
error with github workflow
launch_runner_worker:
runs-on: ubuntu-latest
outputs:
id: ${[ steps.extract_id.outputs.runpod_job_id ]}

steps:
- name: Deploy Worker
uses: fjogeleit/http-request-action@v1
id: deploy

with:
url: "https://api.runpod.ai/v2/${{ vars.RUNNER_24GB }}/run"
method: "POST"
customHeaders: '{"Content-Type": "application/json"}'
bearerToken: ${{ secrets.RUNPOD_API_KEY }}
data: '{"input":{"github_pat": "${{ secrets.GH_PAT }}", "github_org":"${{ vars.GH_ORG }}"}}'

- name: Extract Job ID
id: extract_id
run: |
ID=$(echo '${{ steps.deploy.outputs.response }}' | jq -r '.id')
echo "::set-output name=runpod_job_id::$ID"
launch_runner_worker:
runs-on: ubuntu-latest
outputs:
id: ${[ steps.extract_id.outputs.runpod_job_id ]}

steps:
- name: Deploy Worker
uses: fjogeleit/http-request-action@v1
id: deploy

with:
url: "https://api.runpod.ai/v2/${{ vars.RUNNER_24GB }}/run"
method: "POST"
customHeaders: '{"Content-Type": "application/json"}'
bearerToken: ${{ secrets.RUNPOD_API_KEY }}
data: '{"input":{"github_pat": "${{ secrets.GH_PAT }}", "github_org":"${{ vars.GH_ORG }}"}}'

- name: Extract Job ID
id: extract_id
run: |
ID=$(echo '${{ steps.deploy.outputs.response }}' | jq -r '.id')
echo "::set-output name=runpod_job_id::$ID"
7 replies