STEP 1 - CNC ACTIVE and ISPO Members #13
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
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 }} |