SimplePBI-Ops is a GitHub Action that automates the deployment of Power BI projects using the SimplePBI Python library.
It detects changes in your workspaces, handles dependencies, and runs your deployment script automatically — so users only need to provide secrets and trigger the workflow.
- Fully self-contained “black box” action
- Detects which Semantic Models or Reports have changed
- Runs the Python deployment script automatically
- Handles Python setup and dependency installation
- Minimal setup for end users
Create a workflow in your repository (e.g., .github/workflows/deploy.yml):
name: Deploy PowerBI
on:
  push:
    branches:
      - main
    paths:
      - 'Workspaces/**'   # Trigger only when files in Workspaces/ change
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Run SimplePBI Ops
        uses: ladataweb/SimplePBI-Ops@v0.0.6
        with:
          tenant_id: ${{ secrets.TENANT_ID }}
          app_id: ${{ secrets.APP_ID }}
          secret_key: ${{ secrets.SECRET_KEY }}- Checkout code: Automatically checks out your repository.
- Setup Python: Installs Python 3.x and dependencies (simplepbi).
- Detect changes: Finds which folders in Workspaces/ changed in the latest commit.
- Run deployment: Calls the included ldw-deploy.py Python script with the list of changed folders and secrets.
- GitHub repository must contain a Workspaces/ folder with .report or .semanticmodel projects.
- Secrets (TENANT_ID, APP_ID, SECRET_KEY) must be configured in the repository’s settings.
License © Ignacio Barrau