Skip to content

Commit

Permalink
Merge pull request #5 from JefferMarcelino/develop
Browse files Browse the repository at this point in the history
feat: add gitHub actions workflow for ping
  • Loading branch information
JefferMarcelino authored Aug 1, 2023
2 parents 0e985bf + c737db1 commit c9a95c1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/keep-sml-playground-alive.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Keep SML Playground Alive
on:
schedule:
- cron: "*/14 * * * *" # Run every 14 minutes

jobs:
execute_code:
runs-on: ubuntu-latest
steps:
- name: Send POST Request to SML Playground
run: |
curl -X POST -H "Content-Type: application/json" -d '{"code": "print(1);"}' https://sml-playground-api.onrender.com/execute

0 comments on commit c9a95c1

Please sign in to comment.