diff --git a/.github/workflows/members-in-motion.yml b/.github/workflows/members-in-motion.yml deleted file mode 100644 index 101b860..0000000 --- a/.github/workflows/members-in-motion.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Members in Motion - -on: - workflow_dispatch: - schedule: - - cron: '0 12 * * 3' # Runs at 12:00 UTC every Wednesday - -jobs: - generate-report: - runs-on: self-hosted - - env: - REDASH_URL: ${{ secrets.REDASH_URL }} # https://redash.rahb.ca - API_KEY: ${{ secrets.REDASH_API_KEY }} # API key for Redash - SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }} # API key for SendGrid - FROM_EMAIL: ${{ secrets.MIM_FROM_EMAIL }} # Sender's email address - TO_EMAILS: ${{ secrets.MIM_TO_EMAILS }} # Recipients' email addresses - # Non-sensitive information can be set directly - QUERY_IDS: "139,140,141" # Membership Additions, Deletions, Transfers - TITLES: "Membership Additions,Membership Deletions,Membership Transfers" - LOGO_URL: "https://s1.cdn.rahb.ca/rahbca/wp-content/uploads/2018/10/RAHB-logo_hztrans_video.png" - SUBJECT: "Members in Motion Report" - CONTENT: "Please find attached the latest Members in Motion report." - MODE: "pdf" - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - cache: 'pip' # caching pip dependencies - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - - name: Run Report - run: python main.py --now diff --git a/.github/workflows/mpac-roster.yml b/.github/workflows/mpac-roster.yml deleted file mode 100644 index 9aa72c0..0000000 --- a/.github/workflows/mpac-roster.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Teranet Roster - -on: - workflow_dispatch: - schedule: - - cron: '0 12 1 1,4,7,10 *' # Runs at 12:00 UTC on the 1st day of January, April, July, and October - -jobs: - generate-report: - runs-on: self-hosted - - env: - REDASH_URL: ${{ secrets.REDASH_URL }} # https://redash.rahb.ca - API_KEY: ${{ secrets.REDASH_API_KEY }} # API key for Redash - SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }} # API key for SendGrid - FROM_EMAIL: ${{ secrets.MPAC_FROM_EMAIL }} # Sender's email address - TO_EMAILS: ${{ secrets.MPAC_TO_EMAILS }} # Recipients' email addresses - # Non-sensitive information can be set directly - QUERY_IDS: "124,126" - TITLES: "RAHB Member Counts for Teranet, RAHB Non-Chargeable Members for Teranet" - LOGO_URL: "https://s1.cdn.rahb.ca/rahbca/wp-content/uploads/2018/10/RAHB-logo_hztrans_video.png" - TIMESTAMP_FORMAT: "%B %Y" - SUBJECT: "Teranet (Geowarehouse) self-reporting" - CONTENT: "Enclosed RAHB active members with RECO Numbers and Non-Chargeable admin members spreadsheet of August 2023 for Teranet (GeoWarehouse)." - MODE: "xlsx-multi" - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - cache: 'pip' # caching pip dependencies - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - - name: Run Report - run: python main.py --now diff --git a/.github/workflows/orea-roster.yml b/.github/workflows/orea-roster.yml deleted file mode 100644 index 7dc906e..0000000 --- a/.github/workflows/orea-roster.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: OREA Roster - -on: - workflow_dispatch: - schedule: - - cron: '0 12 1 1,4,7,10 *' # Runs at 12:00 UTC on the 1st day of January, April, July, and October - -jobs: - generate-report: - runs-on: self-hosted - - env: - REDASH_URL: ${{ secrets.REDASH_URL }} # https://redash.rahb.ca - API_KEY: ${{ secrets.REDASH_API_KEY }} # API key for Redash - SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }} # API key for SendGrid - FROM_EMAIL: ${{ secrets.OREA_FROM_EMAIL }} # Sender's email address - TO_EMAILS: ${{ secrets.OREA_TO_EMAILS }} # Recipients' email addresses - # Non-sensitive information can be set directly - QUERY_IDS: "146" - TITLES: "RAHB Member Roster for OREA" - LOGO_URL: "https://s1.cdn.rahb.ca/rahbca/wp-content/uploads/2018/10/RAHB-logo_hztrans_video.png" - TIMESTAMP_FORMAT: "%B %Y" - SUBJECT: "OREA self-reporting" - CONTENT: "Enclosed RAHB active members for OREA." - MODE: "xlsx" - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - cache: 'pip' # caching pip dependencies - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - - name: Run Report - run: python main.py --now diff --git a/.github/workflows/rcn-roster.yml b/.github/workflows/rcn-roster.yml deleted file mode 100644 index b1fbc27..0000000 --- a/.github/workflows/rcn-roster.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: RCN Roster - -on: - workflow_dispatch: - schedule: - - cron: '0 16 15 * *' # Runs at 16:00 UTC on the 15th of every month - -jobs: - generate-rcn-report: - runs-on: self-hosted - - env: - REDASH_URL: ${{ secrets.REDASH_URL }} # Base Redash URL - API_KEY: ${{ secrets.REDASH_API_KEY }} # RCN API key - SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }} - FROM_EMAIL: ${{ secrets.RCN_FROM_EMAIL }} - TO_EMAILS: ${{ secrets.RCN_TO_EMAILS }} - # Non-sensitive information can be set directly - QUERY_IDS: "15" # RCN Active Members - TITLES: "RCN Active Members" - LOGO_URL: "https://s1.cdn.rahb.ca/rahbca/wp-content/uploads/2018/10/RAHB-logo_hztrans_video.png" - TIMESTAMP_FORMAT: "%Y-%m-%d" - SUBJECT: "RAHB Active RCN members list for {{time_period}}" - CONTENT: "Enclosed active RAHB RCN members spreadsheet of {{time_period}} for your reference." - MODE: "xlsx" - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - cache: 'pip' # caching pip dependencies - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - name: Run RCN Report - run: python main.py --now