Skip to content

Merge remote-tracking branch 'origin/main' into offseason-base #34

Merge remote-tracking branch 'origin/main' into offseason-base

Merge remote-tracking branch 'origin/main' into offseason-base #34

Workflow file for this run

name: Statistics Tracker
on: [push, workflow_call]
permissions:
pages: write
id-token: write
jobs:
build:
concurrency:
group: statistics-deploy
cancel-in-progress: true
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./stats_tracker
steps:
- name: Checkout the repository to the runner
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Imgkit
run: |
pip install imgkit
- name: Install wkhtmltopdf
run: |
sudo apt-get install wkhtmltopdf
- name: Generate SVG graphic
id: build
run: bash ./generate_svg.sh
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: stats_tracker/build/
main-deploy:
if: ${{github.ref != 'refs/heads/main'}}
uses:
FRC2539/javabot-2025/.github/workflows/statistics.yml@main

Check failure on line 42 in .github/workflows/statistics.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/statistics.yml

Invalid workflow file

error parsing called workflow ".github/workflows/statistics.yml" -> "FRC2539/javabot-2025/.github/workflows/statistics.yml@main" (source branch with sha:339e5170963c196b4a52e629663b76c85aba4252) --> "FRC2539/javabot-2025/.github/workflows/statistics.yml@main" (source branch with sha:339e5170963c196b4a52e629663b76c85aba4252) ---> "FRC2539/javabot-2025/.github/workflows/statistics.yml@main" (source branch with sha:339e5170963c196b4a52e629663b76c85aba4252) : job "main-deploy" calls workflow "FRC2539/javabot-2025/.github/workflows/statistics.yml@main", but doing so would exceed the limit on called workflow depth of 3
deploy:
concurrency:
group: statistics-deploy
cancel-in-progress: true
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4