Добавлен копирайт для лабораторной #61
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: asciidoctor/docker-asciidoctor | |
env: | |
RESULT_NAME: 'Переводы курсов' | |
BUILD_DIRECTORY: 'build' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build all courses | |
run: | | |
apk add --no-cache pandoc | |
/bin/sh -x ./scripts/build_all.sh -o '${{ env.BUILD_DIRECTORY }}' | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ env.RESULT_NAME }} | |
path: ${{ env.BUILD_DIRECTORY }} | |
if-no-files-found: error |