mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-11-09 23:24:10 -08:00
use filename as var
This commit is contained in:
parent
a96c4cc7db
commit
231cc8545a
5
.github/workflows/pdf.yml
vendored
5
.github/workflows/pdf.yml
vendored
|
@ -27,10 +27,11 @@ jobs:
|
||||||
yes "" | sudo ./install.sh
|
yes "" | sudo ./install.sh
|
||||||
|
|
||||||
- name: Build PDF
|
- name: Build PDF
|
||||||
run: npx docusaurus-prince-pdf -u https://meshtastic.org/docs/about/ --dest ./pdf --output ./pdf/${{ steps.filename.outputs.filename }}
|
run: npx docusaurus-prince-pdf -u https://meshtastic.org/docs/about/ --dest ./ --output ./${{ steps.filename.outputs.filename }}
|
||||||
|
|
||||||
- name: Create request artifacts
|
- name: Create request artifacts
|
||||||
if: ${{ github.event_name == 'pull_request_target' || github.event_name == 'pull_request' }}
|
if: ${{ github.event_name == 'pull_request_target' || github.event_name == 'pull_request' }}
|
||||||
|
# if: github.event.pull_request.merged
|
||||||
uses: gavv/pull-request-artifacts@v2.1.0
|
uses: gavv/pull-request-artifacts@v2.1.0
|
||||||
with:
|
with:
|
||||||
commit: ${{ (github.event.pull_request_target || github.event.pull_request).head.sha }}
|
commit: ${{ (github.event.pull_request_target || github.event.pull_request).head.sha }}
|
||||||
|
@ -38,4 +39,4 @@ jobs:
|
||||||
artifacts-token: ${{ secrets.ARTIFACTS_TOKEN }}
|
artifacts-token: ${{ secrets.ARTIFACTS_TOKEN }}
|
||||||
artifacts-repo: meshtastic/artifacts
|
artifacts-repo: meshtastic/artifacts
|
||||||
artifacts-branch: docs
|
artifacts-branch: docs
|
||||||
artifacts: ./pdf/${{ steps.version.outputs.version }}
|
artifacts: ./${{ steps.filename.outputs.filename }}
|
||||||
|
|
Loading…
Reference in a new issue