mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-09 00:00:17 +03:00
Deb publish: get the readme from source tarball, don't fetch the repo
This commit is contained in:
parent
e531e27616
commit
0c413a37f4
9
.github/workflows/deb-publish.yml
vendored
9
.github/workflows/deb-publish.yml
vendored
@ -114,7 +114,6 @@ jobs:
|
|||||||
aptly \
|
aptly \
|
||||||
devscripts \
|
devscripts \
|
||||||
gettext-base \
|
gettext-base \
|
||||||
git \
|
|
||||||
gnupg \
|
gnupg \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
pandoc \
|
pandoc \
|
||||||
@ -158,11 +157,6 @@ jobs:
|
|||||||
tee -a ~/.devscripts > /dev/null <<EOT
|
tee -a ~/.devscripts > /dev/null <<EOT
|
||||||
DEBSIGN_KEYID=${{ secrets.GPG_SIGNING_SUBKEY_FINGERPRINT }}
|
DEBSIGN_KEYID=${{ secrets.GPG_SIGNING_SUBKEY_FINGERPRINT }}
|
||||||
EOT
|
EOT
|
||||||
- name: Fetch our git repository
|
|
||||||
timeout-minutes: 1
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
path: 'bcachefs-tools'
|
|
||||||
- name: Ensure that the download directory does not exist
|
- name: Ensure that the download directory does not exist
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
run: |
|
run: |
|
||||||
@ -277,7 +271,8 @@ jobs:
|
|||||||
if [ "${{ (github.event_name == 'push' && github.ref_type == 'branch' && github.ref_name == 'master') && 'true' || 'false' }}" = "true" ]; then
|
if [ "${{ (github.event_name == 'push' && github.ref_type == 'branch' && github.ref_name == 'master') && 'true' || 'false' }}" = "true" ]; then
|
||||||
export GPG_SIGNING_SUBKEY_FINGERPRINT=${{ secrets.GPG_SIGNING_SUBKEY_FINGERPRINT }}
|
export GPG_SIGNING_SUBKEY_FINGERPRINT=${{ secrets.GPG_SIGNING_SUBKEY_FINGERPRINT }}
|
||||||
mkdir -p "$PUBLIC_ROOT/.footer"
|
mkdir -p "$PUBLIC_ROOT/.footer"
|
||||||
envsubst < "${{ github.workspace }}/bcachefs-tools/doc/apt.bcachefs.org-README.md" | \
|
tar -xvf "${{ github.workspace }}/incoming/src-artifacts"/*.tar.xz -C "${{ github.workspace }}" --wildcards '*/doc/apt.bcachefs.org-README.md' --strip-components=2
|
||||||
|
envsubst < "${{ github.workspace }}/apt.bcachefs.org-README.md" | \
|
||||||
pandoc --from=markdown --to=html --output="$PUBLIC_ROOT/.footer/README"
|
pandoc --from=markdown --to=html --output="$PUBLIC_ROOT/.footer/README"
|
||||||
tee "$PUBLIC_ROOT/.footer/README.html" <<EOT
|
tee "$PUBLIC_ROOT/.footer/README.html" <<EOT
|
||||||
<!--# block name="empty" --><!--# endblock -->
|
<!--# block name="empty" --><!--# endblock -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user