-
Notifications
You must be signed in to change notification settings - Fork 1
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 #7 from amusarra/fix/review-docs-and-other
Fix/review docs and other
- Loading branch information
Showing
10 changed files
with
92 additions
and
11 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Generate and Commit eBook PDF via Asciidoctor | ||
|
||
on: | ||
push: | ||
paths: | ||
- '**.adoc' # Trigger on changes to .adoc files | ||
workflow_dispatch: # Allow manual triggering | ||
|
||
jobs: | ||
generate-pdf: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0' | ||
|
||
- name: Install asciidoctor-pdf | ||
run: | | ||
gem install asciidoctor-pdf | ||
- name: Generate PDF | ||
run: | | ||
asciidoctor-pdf -o docs/asciidoc/ebook-smartcard-contactless-raspberry-pi.pdf docs/asciidoc/index.adoc | ||
- name: Commit eBook PDF | ||
run: | | ||
git config --local user.email 41898282+github-actions[bot]@users.noreply.github.com | ||
git config --local user.name github-actions[bot] | ||
git add docs/asciidoc/ebook-smartcard-contactless-raspberry-pi.pdf | ||
git commit -m "Update eBook PDF" || echo "No changes to commit" | ||
git push |
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
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
:author: Antonio Musarra | ||
:revnumber: 1.0.1 | ||
:revdate: Luglio 11, 2024 | ||
:revnumber: 1.0.2 | ||
:revdate: Luglio 15, 2024 | ||
:email: [email protected] | ||
:description: Le Smart Card fanno parte ormai da tempo del nostro \ | ||
quotidiano: dalla SIM (Subscriber Identity Module) del cellulare, alla \ | ||
|
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
:doctype: book | ||
:icons: font | ||
:icons: font | ||
:pdf-theme: docs/asciidoc/resources/themes/basic-theme.yml |
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
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
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
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
Binary file not shown.