Skip to content

Commit

Permalink
Merge pull request #479 from hazelops/ize-docs-creation-path-changed
Browse files Browse the repository at this point in the history
Update release-prod.build-and-publish.yml
  • Loading branch information
kobrikx authored Oct 3, 2022
2 parents 72bf026 + bd43521 commit 086bd31
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/release-prod.build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,26 +53,26 @@ jobs:
output_dir: docs
# Default is true, can set to false to only get PDF files
build_html: true
# Disabled due to lack of access to ize.sh
# - 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: 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'
destination_repo: 'hazelops/ize.sh'
destination_folder: 'public'
user_email: 'ize@hazelops.com'
user_name: 'ize'
commit_message: 'Add commands from Ize'
# - 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'
# destination_repo: 'hazelops/ize.sh'
# destination_folder: 'public'
# user_email: 'ize@hazelops.com'
# user_name: 'ize'
# commit_message: 'Add commands from Ize'

create_jira_release:
needs: build
Expand Down

0 comments on commit 086bd31

Please sign in to comment.