Render Awake #5241
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: Render Awake | |
on: | |
schedule: | |
- cron: "*/15 0-15 * * *" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mikeesto/heroku-awake@1.0.0 | |
with: | |
URL: "https://rabbitfund-backend.onrender.com" | |
- name: Get current time | |
uses: josStorer/get-current-time@v2 | |
id: current-time | |
with: | |
format: YYYY-MMDDTHH:MM:SS | |
utcOffset: "+08:00" | |
- name: Use current time | |
env: | |
TIME: "${{ steps.current-time.outputs.time }}" | |
# R_TIME: "${{ steps.current-time.outputs.readableTime }}" | |
F_TIME: "${{ steps.current-time.outputs.formattedTime }}" | |
# YEAR: "${{ steps.current-time.outputs.year }}" | |
# DAY: "${{ steps.current-time.outputs.day }}" | |
run: echo $F_TIME |