mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 22:29:17 +08:00
ci: Change trigger from published to released
This commit is contained in:
parent
183add1cc5
commit
8f8bc4611e
7
.github/workflows/update-major-tag.yml
vendored
7
.github/workflows/update-major-tag.yml
vendored
@ -2,17 +2,16 @@ name: Update major tag
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
types: [released]
|
||||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 1
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2.3.4
|
||||
|
||||
- name: Update major tag
|
||||
if: github.event.release.prerelease == false
|
||||
run: |
|
||||
git config user.name "${GITHUB_ACTOR}"
|
||||
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
||||
|
Loading…
x
Reference in New Issue
Block a user