diff --git a/.github/workflows/release-pdf-action.yaml b/.github/workflows/release-pdf-action.yaml index c930557..bf11847 100644 --- a/.github/workflows/release-pdf-action.yaml +++ b/.github/workflows/release-pdf-action.yaml @@ -4,7 +4,7 @@ on: push: tags: - '*' - workflow_dispatch: + workflow_dispatch: # Allow manual triggering jobs: generate-pdf-release: @@ -18,6 +18,9 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.12' + + - name: Install dependencies + run: pip install -r requirements.txt - name: Generate PDF run: python security-plus-all.py @@ -28,8 +31,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + tag_name: ${{ github.event.ref }} + release_name: Release ${{ github.event.ref }} body: | Automated release generated from markdown files. draft: false