Recently Published #136
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: Recently Published | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 14 * * MON' | |
jobs: | |
recently-published: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Setup Node.JS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '12' | |
- name: Install Dependencies | |
run: npm install --global @artsy/cli | |
- name: Run CLI | |
id: cli | |
run: echo "PAYLOAD=$(artsy scheduled:recently-published)" >> "$GITHUB_OUTPUT" | |
env: | |
SLACK_WEB_API_TOKEN: ${{ secrets.SLACK_WEB_API_TOKEN }} | |
- name: Standup Reminder > Slack | |
uses: 8398a7/action-slack@v3 | |
with: | |
status: custom | |
custom_payload: ${{steps.cli.outputs.PAYLOAD}} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |