You've already forked PythonLib
mirror of
https://github.com/lifebottle/PythonLib.git
synced 2026-02-13 15:25:50 -08:00
24
.github/workflows/SLPS_Run.yml
vendored
Normal file
24
.github/workflows/SLPS_Run.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
name: New SLPS Test
|
||||
|
||||
on:
|
||||
workflow_dispatch
|
||||
|
||||
env:
|
||||
base_directory: c:/actions-runner/_work/
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
startVM:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
# Name of step
|
||||
- name: Start AWS EC2
|
||||
# Run AWS Command on the GitHub Hosted runner which starts the instance using AWS authentication stored in GitHub Secrets (see below how to add)
|
||||
run: |
|
||||
aws ec2 start-instances --instance-ids ${{secrets.AWS_EC2_INSTANCE_ID }}
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
|
||||
Reference in New Issue
Block a user