We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e17da commit 31659c3Copy full SHA for 31659c3
.github/workflows/adoc-to-pdf.yml
@@ -1,9 +1,6 @@
1
name: AsciiDoc to PDF
2
3
-on:
4
- push:
5
- branches:
6
- - master
+on: push
7
8
jobs:
9
asciidoc_to_pdf:
@@ -24,8 +21,15 @@ jobs:
24
21
run: asciidoctor-pdf README.adoc
25
22
- name: Rename generated PDF
26
23
run: mv README.pdf python2nodemcu.pdf
27
- - name: Publish PDF
+ - name: Publish PDF to Release Artifacts
28
uses: actions/upload-artifact@master
29
with:
30
name: python2nodemcu
31
path: python2nodemcu.pdf
+ - name: Publish PDF to Release
+ uses: softprops/action-gh-release@v1
+ if: startsWith(github.ref, 'refs/tags/')
32
+ with:
33
+ files: python2nodemcu.pdf
34
+ env:
35
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments