-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #479 from hazelops/ize-docs-creation-path-changed
Update release-prod.build-and-publish.yml
- Loading branch information
Showing
1 changed file
with
19 additions
and
19 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: '[email protected]' | ||
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: '[email protected]' | ||
# user_name: 'ize' | ||
# commit_message: 'Add commands from Ize' | ||
|
||
create_jira_release: | ||
needs: build | ||
|