We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7948d2e commit bc156f1Copy full SHA for bc156f1
.github/workflows/deploy.yaml
@@ -74,5 +74,11 @@ jobs:
74
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
75
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
76
aws-region: ${{ secrets.AWS_REGION }}
77
-
+ - name: Stop EC2 runner
78
+ uses: machulav/ec2-github-runner@v2
79
+ with:
80
+ mode: stop
81
+ github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
82
+ label: ${{ needs.start-runner.outputs.label }}
83
+ ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}
84
0 commit comments