Skip to content

STEP 1 - CNC ACTIVE and ISPO Members #13

STEP 1 - CNC ACTIVE and ISPO Members

STEP 1 - CNC ACTIVE and ISPO Members #13

name: STEP 1 - CNC ACTIVE and ISPO Members
on:
workflow_dispatch: # Trigger the workflow manually
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository # Step to check out the repository
uses: actions/checkout@v2
- name: Run script # Step to run the python script
run: python membersImport.py cnc-alliance-members-registration
- name: Upload JSON file # Step to upload the generated JSON file
run: |
git add CNC_Active_ISPO_POOL_CHECK.json
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m "Uploaded CNC_Active_ISPO_POOL_CHECK.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Push Changes
run: git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}