Skip to content

Commit

Permalink
test auto provision aws
Browse files Browse the repository at this point in the history
  • Loading branch information
ypwong99 committed May 3, 2024
1 parent f2cc3de commit aaf4fce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/provision-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
setup-aws-vm:
runs-on: ubuntu-latest
env:
VM_NAME: stellar-continuous-aws-temp-2
VM_NAME: stellar-continuous-aws-temp-3
steps:
- uses: actions/checkout@v4

Expand All @@ -18,6 +18,12 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }}
aws-region: us-west-1

- name: Create SSH public key file
run: |
mkdir -p $HOME/.ssh
echo ${{ vars.SSH_PUBLIC_KEY }} > $HOME/.ssh/id_rsa.pub
cat $HOME/.ssh/id_rsa.pub
- name: Create AWS EC2 instance
run: |
aws ec2 run-instances \
Expand Down

0 comments on commit aaf4fce

Please sign in to comment.