mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-29 14:23:58 -06:00
27 lines
735 B
YAML
27 lines
735 B
YAML
name: Release LaTeX Document
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
build_and_release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up git repository
|
|
uses: actions/checkout@v3
|
|
- name: Build the book
|
|
uses: xu-cheng/texlive-action/full@v1
|
|
with:
|
|
run: |
|
|
apk add make
|
|
cd book
|
|
make all
|
|
make release
|
|
- name: Release book on S3
|
|
uses: shallwefootball/s3-upload-action@master
|
|
with:
|
|
aws_key_id: ${{ secrets.AWS_KEY_ID }}
|
|
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
|
|
aws_bucket: ${{ secrets.AWS_BUCKET }}
|
|
source_dir: book/release
|
|
destination_dir: release |