-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
19 deletions.
There are no files selected for viewing
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
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 | ||
*.csv |