Skip to content

Commit

Permalink
Update check-and-ebook.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb committed Feb 9, 2025
1 parent 65b13af commit 4d9b95c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/check-and-ebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,16 +155,20 @@ jobs:
#
upload:
needs: make
# only for push or workflow_dispatch into main branch
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main'
# only for main branch and actions push or manual run
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')

permissions:
contents: write

runs-on: ubuntu-24.04

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Get tags
run: git fetch --tags origin

- name: Update tag WorkInProgress
run: |
Expand Down

0 comments on commit 4d9b95c

Please sign in to comment.