Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Merge pull request #65 from marwernerh/main #108

Merge pull request #65 from marwernerh/main

Merge pull request #65 from marwernerh/main #108

Workflow file for this run

on:
push:
branches:
- main
jobs:
# deploy-terraform:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: us-east-2
# - uses: hashicorp/setup-terraform@v2
# with:
# terraform_version: 1.2.6
# - name: "Deploy Terraform"
# run: |
# terraform init
# terraform apply -auto-approve
manage-users:
runs-on: ubuntu-latest
# needs: [deploy-terraform]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: "Install dependencies"
run: pip3 install -r requirements.txt
- name: "Sync Users"
run: python manage-users.py
env:
AWS_DEFAULT_REGION: us-east-2