Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ofou committed Mar 29, 2024
1 parent e1964c6 commit 1c03c9f
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,29 @@
---
name: "EPUB & MOBI files"
name: "EPUB & PDF files"

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "0 0 * * *"
- cron: "0 0 * * *" # Run every day at midnight UTC

jobs:
build:
name: "EPUB & MOBI"
runs-on: "macos-latest"
name: "EPUB & PDF"
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v2
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GRAHAM_ESSAYS }}"
automatic_release_tag: "latest"
title: "Paul Graham Essays"
files: |
*.epub
*.mobi
*.csv
- uses: actions/checkout@v2

- name: Run
run: |
mkdir essays
make all
- name: Build
run: make all

- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GRAHAM_ESSAYS }}"
title: "Paul Graham Essays"
files: |
*.epub
*.pdf
*.csv

0 comments on commit 1c03c9f

Please sign in to comment.