Skip to content

Commit

Permalink
* add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
audreyt committed Mar 10, 2024
1 parent eca9391 commit c86e5b2
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build Book

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
# - name: Install dependencies
# run: |
# # Install necessary dependencies (e.g., Perl, Docker)
# perl scripts/make-book.pl
- name: Generate book files
run: |
perl scripts/make-book.pl
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: book-files
path: |
Plurality-english.pdf
Plurality-english.epub
- uses: ncipollo/release-action@v1
with:
artifacts: "*.pdf,*.epub"
token: ${{ secrets.RELEASE_TOKEN }}

0 comments on commit c86e5b2

Please sign in to comment.