mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
ci/cd - fix syntax error in push-github wf
This commit is contained in:
parent
08ce31bb0f
commit
244b912476
1 changed files with 6 additions and 6 deletions
12
.github/workflows/push-github.yml
vendored
12
.github/workflows/push-github.yml
vendored
|
@ -18,14 +18,14 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# Get PDF doc
|
# Get PDF doc
|
||||||
- name: Get documentation
|
- name: Get documentation
|
||||||
if: inputs.VERSION != "testing"
|
if: inputs.VERSION != 'testing'
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: BunkerWeb_documentation_v${{ inputs.VERSION }}.pdf
|
name: BunkerWeb_documentation_v${{ inputs.VERSION }}.pdf
|
||||||
# Create tag
|
# Create tag
|
||||||
- uses: rickstaa/action-create-tag@v1
|
- uses: rickstaa/action-create-tag@v1
|
||||||
name: Create tag
|
name: Create tag
|
||||||
if: inputs.VERSION != "testing"
|
if: inputs.VERSION != 'testing'
|
||||||
with:
|
with:
|
||||||
tag: "v${{ inputs.VERSION }}"
|
tag: "v${{ inputs.VERSION }}"
|
||||||
message: "v${{ inputs.VERSION }}"
|
message: "v${{ inputs.VERSION }}"
|
||||||
|
@ -33,14 +33,14 @@ jobs:
|
||||||
# Create tag
|
# Create tag
|
||||||
- uses: rickstaa/action-create-tag@v1
|
- uses: rickstaa/action-create-tag@v1
|
||||||
name: Create tag
|
name: Create tag
|
||||||
if: inputs.VERSION == "testing"
|
if: inputs.VERSION == 'testing'
|
||||||
with:
|
with:
|
||||||
tag: "${{ inputs.VERSION }}"
|
tag: "${{ inputs.VERSION }}"
|
||||||
message: "${{ inputs.VERSION }}"
|
message: "${{ inputs.VERSION }}"
|
||||||
force_push_tag: true
|
force_push_tag: true
|
||||||
# Extract changelog
|
# Extract changelog
|
||||||
- name: Extract changelog
|
- name: Extract changelog
|
||||||
if: inputs.VERSION != "testing"
|
if: inputs.VERSION != 'testing'
|
||||||
id: getchangelog
|
id: getchangelog
|
||||||
run: |
|
run: |
|
||||||
content=$(awk -v n=2 '/##/{n--}; n > 0' CHANGELOG.md | grep -v '# Changelog' | grep -v '##' | sed '/^$/d')
|
content=$(awk -v n=2 '/##/{n--}; n > 0' CHANGELOG.md | grep -v '# Changelog' | grep -v '##' | sed '/^$/d')
|
||||||
|
@ -50,7 +50,7 @@ jobs:
|
||||||
echo "::set-output name=content::$content"
|
echo "::set-output name=content::$content"
|
||||||
# Create release
|
# Create release
|
||||||
- name: Create release
|
- name: Create release
|
||||||
if: inputs.VERSION != "testing"
|
if: inputs.VERSION != 'testing'
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
body: |
|
body: |
|
||||||
|
@ -74,7 +74,7 @@ jobs:
|
||||||
files: BunkerWeb_documentation_v${{ inputs.VERSION }}.pdf
|
files: BunkerWeb_documentation_v${{ inputs.VERSION }}.pdf
|
||||||
# Create release
|
# Create release
|
||||||
- name: Create release
|
- name: Create release
|
||||||
if: inputs.VERSION == "testing"
|
if: inputs.VERSION == 'testing'
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
body: |
|
body: |
|
||||||
|
|
Loading…
Reference in a new issue