latex-packages/.gitea/workflows/build.yaml
Maximilian Keßler b587beb806
All checks were successful
Build LaTeX packages / build (push) Successful in 4m43s
use single job
2023-10-18 18:46:34 +02:00

39 lines
1.1 KiB
YAML

name: Build LaTeX packages
on: [push]
jobs:
build:
runs-on: latex-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0 # We need all history to correctly parse tag names
fetch-tags: true
- name: Setup git credentials and committer
run: .ci/configure_git.sh
env:
DEPLOY_SSH_KEY: ${{ secrets.deploy_ssh_key }}
- name: Clone build repository
uses: actions/checkout@v4
with:
repository: latex/latex-packages-build
path: build/LatexPackagesBuild
ref: master
- name: Checkout correct branch in build repository
run: |
.ci/setup_build_repo_branch.sh
env:
REF_NAME: ${{ github.ref_name }}
- name: Build packages
run: |
.ci/ci_build.sh # Note that this includes pushing to the build mirror
env:
REF_NAME: ${{ github.ref_name }}
- name: deploy pages
if: github.ref == 'refs/heads/master'
uses: actions/pages@v1
with:
directory: build/