Skip to content

Commit

Permalink
Update CI workflow to enable pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
ofou committed Mar 29, 2024
1 parent 215e0ae commit ba15bee
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "EPUB & PDF files"
name: "Pre Release"

on:
push:
Expand All @@ -10,22 +10,22 @@ on:
workflow_dispatch:

jobs:
build:
name: "EPUB & PDF"
pre-release:
name: "Pre Release"
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v2
- name: "Build"
run: |
make all
- name: Build
run: make all

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

0 comments on commit ba15bee

Please sign in to comment.