This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
Merge pull request #83 from link1183/main #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
permissions: | |
id-token: write | |
contents: read | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
manage-users: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: ${{ secrets.AWS_ROLE_ARN }} | |
aws-region: us-east-2 | |
- name: "Install dependencies" | |
run: pip3 install -r requirements.txt | |
- name: "Sync Users" | |
run: | | |
python manage-users.py |