mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2026-05-06 11:34:18 +02:00
Refactor build action
Signed-off-by: nopeitsnothing <no@anonymousplanet.org>
This commit is contained in:
@@ -37,10 +37,12 @@ jobs:
|
|||||||
- name: 📦 Install MkDocs Material
|
- name: 📦 Install MkDocs Material
|
||||||
run: pip install mkdocs-material
|
run: pip install mkdocs-material
|
||||||
|
|
||||||
- name: 🌐 Install Chromium
|
- name: Setup Chrome
|
||||||
run: |
|
uses: browser-actions/setup-chrome@v2
|
||||||
sudo apt-get update
|
with:
|
||||||
sudo apt-get install -y --no-install-recommends chromium
|
chrome-version: 120
|
||||||
|
install-dependencies: true
|
||||||
|
install-chromedriver: true
|
||||||
|
|
||||||
- name: 🔑 Install GPG tools
|
- name: 🔑 Install GPG tools
|
||||||
run: |
|
run: |
|
||||||
@@ -70,7 +72,11 @@ jobs:
|
|||||||
cd ${{ github.workspace }}
|
cd ${{ github.workspace }}
|
||||||
|
|
||||||
# Import GPG key
|
# Import GPG key
|
||||||
echo "$GPG_KEY" | gpg --batch --import 2>/dev/null || true
|
export GPG_TTY=$(tty)
|
||||||
|
echo "$GPG_KEY" | gpg --batch --import
|
||||||
|
|
||||||
|
# Verify the key was imported
|
||||||
|
gpg --list-secret-keys
|
||||||
|
|
||||||
# Sign the PDFs (detach signature)
|
# Sign the PDFs (detach signature)
|
||||||
gpg --batch --yes --armor --detach-sign --output export/thgtoa.pdf.sig export/thgtoa.pdf
|
gpg --batch --yes --armor --detach-sign --output export/thgtoa.pdf.sig export/thgtoa.pdf
|
||||||
|
|||||||
Reference in New Issue
Block a user