Skip to content

Commit

Permalink
remove coversion of md to html
Browse files Browse the repository at this point in the history
  • Loading branch information
kobrikx committed Oct 17, 2022
1 parent 2691708 commit b4d546c
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/release-prod.build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: '[email protected]'
Expand Down

0 comments on commit b4d546c

Please sign in to comment.