Skip to content

Workflow file for this run

---
on: # yamllint disable-line rule:truthy
release:
types:
- published
jobs:
deploy_to_edge_net:
name: Update EdgeNet
runs-on: ubuntu-latest
steps:
- name: Get aws-commander
run: |
wget https://github.com/Trapesys/aws-commander/releases/download/v0.2.0/aws-commander_0.2.0_Linux_x86_64.tar.gz
tar -xf aws-commander_0.2.0_Linux_x86_64.tar.gz
sudo mv aws-commander /usr/local/bin
- name: Checkout code
uses: actions/checkout@v3
- name: Run deployment Ansible
env:
AWS_ACCESS_KEY_ID: ${{ secrets.EDGENET_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.EDGENET_AWS_SECRET_ACCESS_KEY }}
run: >
/usr/local/bin/aws-commander
-instances i-039f7c0b3328a00f8,i-035b9f2d78cfb8ea9,i-00a6c7cb3a213f21f,i-03ac2f42ddcba6120
-mode ansible
-playbook .github/workflows/ansible/update_edgenet.yaml
-aws-zone us-west-2