mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
[GHA] Modify releases.yml
This commit is contained in:
parent
bea44573cd
commit
d82ceb87dd
1 changed files with 10 additions and 17 deletions
27
.github/workflows/releases.yml
vendored
27
.github/workflows/releases.yml
vendored
|
@ -1,24 +1,17 @@
|
|||
name: "tagged-release"
|
||||
name: Releases
|
||||
|
||||
on:
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
tagged-release:
|
||||
name: "Tagged Release"
|
||||
runs-on: "ubuntu-latest"
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Deploy Release"
|
||||
run: |
|
||||
echo "Deploying"
|
||||
|
||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
prerelease: false
|
||||
files: |
|
||||
README.md
|
||||
LICENSE.md
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "README.md,LICENSE.md"
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Add table
Reference in a new issue