Skip to content

SONARPY-2496 Create rule S7193 PySpark DataFrame toPandas function … #11529

SONARPY-2496 Create rule S7193 PySpark DataFrame toPandas function …

SONARPY-2496 Create rule S7193 PySpark DataFrame toPandas function … #11529

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
- rule/**
jobs:
build-and-deploy:
runs-on: ubuntu-20.04
permissions:
pull-requests: read # Get the list and metadata of open new-rule PRs
contents: write # Get the contents of open new-rule PRs, the 'master'; write to 'gh-pages' branch
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4 # If you're using actions/checkout you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
ref: 'master'
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
working-directory: frontend
run: |
sudo apt-get update
sudo apt-get install libkrb5-dev -y
npm install
npm run predeploy
env:
NODE_OPTIONS: "--max-old-space-size=3048"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
SINGLE_COMMIT: true
CLEAN: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: frontend/build # The folder the action should deploy.