Skip to content

Commit 966bf7e

Browse files
committed
simplify
1 parent d0219ae commit 966bf7e

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/documentation-deployment.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,6 @@ jobs:
1717
permissions:
1818
contents: write
1919
steps:
20-
- name: Configuration
21-
shell: bash
22-
run: |
23-
if [[ "${{ github.event_name }}" != "push" ]]; then
24-
# use tag name
25-
VERSION="${{ github.ref_name }}"
26-
else
27-
# use extracted version from pom.xml on pushes i.e. on develop
28-
VERSION="develop"
29-
fi
30-
echo "version=$VERSION" >> $GITHUB_OUTPUT
31-
3220
- name: Checkout Repository
3321
uses: actions/checkout@v4
3422
with:
@@ -37,4 +25,4 @@ jobs:
3725
- name: Deploy Documentation
3826
uses: secure-software-engineering/actions/documentation/deployment@develop
3927
with:
40-
version: ${{ env.version }}
28+
version: ${{ github.ref_name }}

0 commit comments

Comments
 (0)