diff --git a/.github/workflows/release-binaries-on-ec2.yaml b/.github/workflows/release-binaries-on-ec2.yaml index a29365d6..b5901c8d 100644 --- a/.github/workflows/release-binaries-on-ec2.yaml +++ b/.github/workflows/release-binaries-on-ec2.yaml @@ -81,7 +81,7 @@ jobs: uses: machulav/ec2-github-runner@v2 with: mode: start - github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + github-token: ${{ secrets.GH_AWS_CI_TOKEN }} ec2-image-id: ${{ inputs.ami_id }} ec2-instance-type: ${{ inputs.instance_type }} subnet-id: ${{ secrets.AWS_SUBNET_ID }} @@ -116,7 +116,7 @@ jobs: uses: machulav/ec2-github-runner@v2 with: mode: stop - github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + github-token: ${{ secrets.GH_AWS_CI_TOKEN }} label: ${{ needs.start-runner.outputs.label }} ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }} \ No newline at end of file