2023-06-16 18:51:25 +00:00
|
|
|
name: Directory writer
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2023-06-20 14:48:24 -06:00
|
|
|
- master
|
2023-06-16 18:51:25 +00:00
|
|
|
schedule:
|
|
|
|
# ┌───────────── minute (0 - 59)
|
|
|
|
# │ ┌───────────── hour (0 - 23)
|
|
|
|
# │ │ ┌───────────── day of the month (1 - 31)
|
|
|
|
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
|
|
|
|
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
|
|
|
|
# │ │ │ │ │
|
|
|
|
# │ │ │ │ │
|
|
|
|
# │ │ │ │ │
|
|
|
|
# * * * * *
|
|
|
|
- cron: '0 0 * * 1'
|
2020-04-16 22:25:55 +08:00
|
|
|
jobs:
|
2023-06-16 18:51:25 +00:00
|
|
|
build:
|
|
|
|
if: github.repository == 'TheAlgorithms/Ruby' # We only need this to run in our repository.
|
2020-04-16 22:25:55 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-06-16 18:51:25 +00:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: Build directory
|
|
|
|
uses: TheAlgorithms/scripts/directory_md@main
|
|
|
|
with:
|
|
|
|
language: Ruby
|
|
|
|
working-directory: .
|
|
|
|
filetypes: .rb
|