Skip to content

Commit

Permalink
turn off job
Browse files Browse the repository at this point in the history
  • Loading branch information
vladtara committed Apr 8, 2024
1 parent f25ebb1 commit f3c979e
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/cron.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: cron-job
# name: cron-job

on:
schedule:
- cron: "10 8 * * *"
jobs:
docker:
runs-on: ubuntu-latest
env:
GITHUB_REPO_URL: https://${{github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_EMAIL: ${{ vars.EMAIL }}
container:
image: ghcr.io/${{ github.repository }}:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run
run: python init.py
# on:
# schedule:
# - cron: "10 8 * * *"
# jobs:
# docker:
# runs-on: ubuntu-latest
# env:
# GITHUB_REPO_URL: https://${{github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
# GITHUB_USERNAME: ${{ github.actor }}
# GITHUB_EMAIL: ${{ vars.EMAIL }}
# container:
# image: ghcr.io/${{ github.repository }}:latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Run
# run: python init.py

0 comments on commit f3c979e

Please sign in to comment.