Skip to content

Update author refs

Update author refs #63

Workflow file for this run

name: "Semester Setup"
on:
pull_request:
branch:
- master
# paths:
# - "**/*.ipynb"
# - "**/*.py"
schedule:
- cron: "* 16 * * *" # Spring semester
- cron: "* 4 * * *" # Fall semester
jobs:
update-semester:
runs-on: ubuntu-latest
env:
GROUP: "core"
steps:
# Checkout repositories
- name: "${GROUP}: Checkout latest master branch"
uses: actions/checkout@v2
with:
repository: "ucfai/${GROUP}"
path: "${GROUP}"
- name: "ucfai.org: Checkout latest master branch"
uses: actions/checkout@v2
with:
repository: "ucfai/ucfai.org"
path: ucfai.org
# Pull and run autobot within container
- name: "Pull autobot/production:latest"
run: docker pull docker.pkg.github.com/ucfai/bot/production:latest

Check failure on line 35 in .github/workflows/semester-upkeep.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/semester-upkeep.yml

Invalid workflow file

You have an error in your yaml syntax on line 35
- name: "Setup semester"
docker run \
-v ${GROUP}:/ucfai/${GROUP} \
-v ucfai.org:/ucfai.org \
core semester-update --all
# Push updates to ${GROUP}
- name: "Commit updates on ${GROUP}"
run: |
cd ${WORKSPACE}/${GROUP}
git config --local user.email "action@github.com"
git config --local user.name "GitHub Actions"
git commit -m "update emester" -a
- name: "Push changes to ${GROUP}"
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Push updates to ucfai.org
- name: "Commit updates on ucfai.org"
run: |
cd ${WORKSPACE}/ucfai.org
git config --local user.email "action@github.com"
git config --local user.name "GitHub Actions"
git commit -m "add semester to website" -a
- name: "Push changes to ${GROUP}"
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}