Skip to content

Add Dennis S. to Team page #42

Add Dennis S. to Team page

Add Dennis S. to Team page #42

name: Social Media Followers Update
on: push
jobs:
update-followers:
runs-on: ubuntu-latest
permissions:
contents: write
env: # Secrets stored at https://github.com/elara-aerospace/elara-aerospace.github.io/settings/secrets/actions
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}
YOUTUBE_CHANNEL_ID: ${{ secrets.YOUTUBE_CHANNEL_ID }}
GITHUB_USERNAME: ${{ secrets.GH_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run social media scripts
run: |
python scripts/social-media/youtube.py
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Update social media follower counts"
file_pattern: '_data/social-media.yml'