Skip to content

Review2 (#191)

Review2 (#191) #147

Workflow file for this run

name: AutoDeploy
on:
push:
branches:
- "aws/**"
- "production"
permissions:
id-token: write
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Git clone the repository
uses: actions/checkout@v1
- name: Setup python
uses: actions/setup-python@v3
with:
python-version: '3.8'
architecture: 'x64'
- name: setup boto3
run: |
pip3 install --upgrade pip
pip3 install boto3
- name: register variables
id: setregion
run: |
echo "::set-output name=aws-region::$(./bin/github_actions.py region)"
- name: Configure aws credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.AWS_ROLE }}
aws-region: ${{ steps.setregion.outputs.aws-region }}
- uses: actions/setup-node@v3
with:
node-version: "16"
- name: Run Deploy
env:
VITE_GOOGLE_MAPS_API_KEY: ${{ secrets.VITE_GOOGLE_MAPS_API_KEY }}
run: ./bin/github_actions.py deploy --doit