latex-packages/.gitea/workflows/build.yaml
Maximilian Keßler 298e515a51
Some checks failed
Build LaTeX packages / build (push) Failing after 24s
Build LaTeX packages / deploy-pages (push) Has been skipped
fix environment variable
2023-10-18 11:04:38 +02:00

40 lines
1.2 KiB
YAML

name: Build LaTeX packages
on: [push]
jobs:
build:
runs-on: latex-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup git credentials and committer
run: .ci/configure_git.sh
env:
SSH_DEPLOY_KEY: ${{ secrets.ssh_deploy_key }}
- name: Clone build repository
uses: actions/checkout@v4
with:
repository: latex/latex-packages-build
fetch-depth: 0 # We need all history to correctly parse tag names
fetch-tags: true
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 }}
deploy-pages:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/master'
steps:
- name: Deploy to pages
uses: actions/pages@v1
with:
directory: build/