From b4d546cd358e100433dd8cbfca146d88e2c6a19d Mon Sep 17 00:00:00 2001 From: Dmitry Borisov Date: Mon, 17 Oct 2022 14:08:38 +0300 Subject: [PATCH] remove coversion of md to html --- .../release-prod.build-and-publish.yml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.github/workflows/release-prod.build-and-publish.yml b/.github/workflows/release-prod.build-and-publish.yml index d7b4d0f7..4b11ca24 100644 --- a/.github/workflows/release-prod.build-and-publish.yml +++ b/.github/workflows/release-prod.build-and-publish.yml @@ -46,28 +46,12 @@ jobs: mkdir -p commands go run ./cmd gen doc - - name: convert MD to HTML - uses: baileyjm02/markdown-to-pdf@v1 - with: - input_dir: website/commands - output_dir: docs - # Default is true, can set to false to only get PDF files - build_html: true - - - name: remove pdfs and rename links #This needs because action creates PDF by default - run: | - cd docs - sudo rm *.pdf - sudo mv ize.html index.html - sudo sed -i 's/.md/.html/g' * - sudo sed -i 's/ize.html/index.html/g' * - - name: Pushes ize commands to ize.sh uses: dmnemec/copy_file_to_another_repo_action@main env: API_TOKEN_GITHUB: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} with: - source_file: 'docs' + source_file: 'commands' destination_repo: 'hazelops/ize.sh' destination_folder: 'public' user_email: 'ize@hazelops.com'