Post Slack update #208
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Post Slack update | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 9 * * 1-5" | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN}} | |
DSCI_AZ_BLOB_PROD_SAS_WRITE: ${{ secrets.DSCI_AZ_BLOB_PROD_SAS_WRITE }} | |
HS_SLACK_URL: ${{ secrets.HS_SLACK_URL}} | |
MAILCHIMP_API_KEY: ${{ secrets.MAILCHIMP_API_KEY }} | |
HS_DRY_RUN: ${{ 'FALSE' }} | |
HS_LOCAL: ${{ 'FALSE' }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up environment | |
uses: ocha-dap/hdx-signals-actions@v3 | |
- name: Create Slack message | |
shell: bash | |
run: Rscript ./src/signals/check_signals_updates.R |