Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update release-prod.build-and-publish.yml #479

Merged
merged 1 commit into from
Oct 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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