Evening workout #1006
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: Evening workout | |
on: | |
schedule: | |
- cron: '55 2 * * 1-6' #02:55AM UTC (04:55AM AMS time), Monday to Saturday | |
jobs: | |
eveningWorkout: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
bundler-cache: true | |
- name: Configure Git | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "Manish Rathi" | |
- name: Evening workout message | |
env: | |
SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }} | |
FL_POST_TO_SLACK_CHANNEL: ${{ secrets.FL_POST_TO_SLACK_CHANNEL }} | |
SLACK_WORKSPACE_NAME: ${{ secrets.SLACK_WORKSPACE_NAME }} | |
run: bundle exec fastlane evening_workout_slack_message |