mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
get rid of unused automation scripts
This commit is contained in:
parent
006eccf8ec
commit
2a8adde8e7
2 changed files with 60 additions and 60 deletions
|
|
@ -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 }}
|
||||
# - name: run script
|
||||
# run: |
|
||||
# pwd
|
||||
# ls -la
|
||||
# poetry run python etl/hubspot_surveyed_needs_sign_off.py
|
||||
# env:
|
||||
# PYTHONPATH: ${{ github.workspace }}
|
||||
70
.github/workflows/scis_invoice_calculator.yml
vendored
70
.github/workflows/scis_invoice_calculator.yml
vendored
|
|
@ -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
|
||||
# - 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
|
||||
Loading…
Add table
Reference in a new issue