From 2a8adde8e7bf1ab451aa18d52aef4f3b5839d5f7 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Wed, 10 Sep 2025 13:44:49 +0000 Subject: [PATCH] get rid of unused automation scripts --- .../hubspot_surveyed_needs_sign_off.yml | 50 ++++++------- .github/workflows/scis_invoice_calculator.yml | 70 +++++++++---------- 2 files changed, 60 insertions(+), 60 deletions(-) diff --git a/.github/workflows/hubspot_surveyed_needs_sign_off.yml b/.github/workflows/hubspot_surveyed_needs_sign_off.yml index cd4db7e..ac747d8 100644 --- a/.github/workflows/hubspot_surveyed_needs_sign_off.yml +++ b/.github/workflows/hubspot_surveyed_needs_sign_off.yml @@ -1,29 +1,29 @@ -name: Surveyed Needs Sign Off Script -on: - schedule: - # - cron: '0 17 * * 1-5' - workflow_dispatch: +# name: Surveyed Needs Sign Off Script +# on: +# schedule: +# # - cron: '0 17 * * 1-5' +# workflow_dispatch: -jobs: - surveyed-needs-sign-off: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v3 +# jobs: +# surveyed-needs-sign-off: +# runs-on: ubuntu-22.04 +# steps: +# - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.12' +# - name: Set up Python +# uses: actions/setup-python@v4 +# with: +# python-version: '3.12' - - name: Install dependencies - run: | - pip install poetry - poetry install --no-root +# - name: Install dependencies +# run: | +# pip install poetry +# poetry install --no-root - - name: run script - run: | - pwd - ls -la - poetry run python etl/hubspot_surveyed_needs_sign_off.py - env: - PYTHONPATH: ${{ github.workspace }} \ No newline at end of file +# - name: run script +# run: | +# pwd +# ls -la +# poetry run python etl/hubspot_surveyed_needs_sign_off.py +# env: +# PYTHONPATH: ${{ github.workspace }} \ No newline at end of file diff --git a/.github/workflows/scis_invoice_calculator.yml b/.github/workflows/scis_invoice_calculator.yml index 66a5461..d0739f7 100644 --- a/.github/workflows/scis_invoice_calculator.yml +++ b/.github/workflows/scis_invoice_calculator.yml @@ -1,39 +1,39 @@ -name: SCIS Invoice Calculator -on: - schedule: - - cron: '0 6 * * *' - workflow_dispatch: +# name: SCIS Invoice Calculator +# on: +# schedule: +# - cron: '0 6 * * *' +# workflow_dispatch: -jobs: - scis_invoice_calculator: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v3 +# jobs: +# scis_invoice_calculator: +# runs-on: ubuntu-22.04 +# steps: +# - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.12' +# - name: Set up Python +# uses: actions/setup-python@v4 +# with: +# python-version: '3.12' - - name: Install dependencies - run: | - pip install poetry - poetry install --no-root +# - name: Install dependencies +# run: | +# pip install poetry +# poetry install --no-root - - name: run script - run: | - bash scis_invoice.sh - env: - PYTHONPATH: ${{ github.workspace }} - SOUTH_COAST_INSULATION_SERVICE_SHAREPOINT_ID: ${{ secrets.SOUTH_COAST_INSULATION_SERVICE_SHAREPOINT_ID }} - JJC_SERVICE_SHAREPOINT_ID: ${{ secrets.JJC_SERVICE_SHAREPOINT_ID }} - BAXTER_KELLY_SERVICE_SHAREPOINT_ID: ${{ secrets.BAXTER_KELLY_SERVICE_SHAREPOINT_ID }} - SGEC_SERVICE_SHAREPOINT_ID: ${{ secrets.SGEC_SERVICE_SHAREPOINT_ID }} - SHAREPOINT_CLIENT_ID: ${{ secrets.SHAREPOINT_CLIENT_ID }} - SHAREPOINT_CLIENT_SECRET: ${{ secrets.SHAREPOINT_CLIENT_SECRET }} - SHAREPOINT_TENANT_ID: ${{ secrets.SHAREPOINT_TENANT_ID }} - - name: Upload Excel file - uses: actions/upload-artifact@v4 - with: - name: my-excel-file - path: survey_data.xlsx \ No newline at end of file +# - name: run script +# run: | +# bash scis_invoice.sh +# env: +# PYTHONPATH: ${{ github.workspace }} +# SOUTH_COAST_INSULATION_SERVICE_SHAREPOINT_ID: ${{ secrets.SOUTH_COAST_INSULATION_SERVICE_SHAREPOINT_ID }} +# JJC_SERVICE_SHAREPOINT_ID: ${{ secrets.JJC_SERVICE_SHAREPOINT_ID }} +# BAXTER_KELLY_SERVICE_SHAREPOINT_ID: ${{ secrets.BAXTER_KELLY_SERVICE_SHAREPOINT_ID }} +# SGEC_SERVICE_SHAREPOINT_ID: ${{ secrets.SGEC_SERVICE_SHAREPOINT_ID }} +# SHAREPOINT_CLIENT_ID: ${{ secrets.SHAREPOINT_CLIENT_ID }} +# SHAREPOINT_CLIENT_SECRET: ${{ secrets.SHAREPOINT_CLIENT_SECRET }} +# SHAREPOINT_TENANT_ID: ${{ secrets.SHAREPOINT_TENANT_ID }} +# - name: Upload Excel file +# uses: actions/upload-artifact@v4 +# with: +# name: my-excel-file +# path: survey_data.xlsx \ No newline at end of file