Skip to content

Commit

Permalink
Merge pull request #6 from Ducasse/master
Browse files Browse the repository at this point in the history
Latex 2023 + pillar 10.2
  • Loading branch information
olekscode authored Aug 26, 2024
2 parents 728c98c + 3edf91e commit 25ffc4c
Showing 1 changed file with 6 additions and 34 deletions.
40 changes: 6 additions & 34 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,18 @@
name: Book generation
name: Pillar >10

on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 0 * * 0'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Prepare Pillar
run: |
git clone https://github.com/pillar-markup/pillar.git -b v8.2.6
export PATH="$HOME/texlive/bin/x86_64-linux:$PWD/build:$PATH"
./pillar/scripts/ci/install-texlive
./_support/latex/ensure-dependencies-2018.sh
./pillar/scripts/build.sh
mkdir artifacts
- name: Build PDF
run: |
export PATH="$HOME/texlive/bin/x86_64-linux:$PWD/build:$PATH"
pillar build pdf book.md
mv _result/pdf/book.pdf _result/pdf/Booklet-CORMAS.pdf
- name: Continuous Release
if: ${{ github.event_name == 'push' }}
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "PDF (continuous release)"
files: |
_result/pdf/*.pdf
uses: SquareBracketAssociates/BookBuilderDashboard/.github/workflows/main.yml@newVersionOfPillar
with:
bookname: CormasPrimer

0 comments on commit 25ffc4c

Please sign in to comment.