test this

This commit is contained in:
ineed bots 2023-08-30 16:47:12 -06:00
parent 0642b384e8
commit 038f885174

View File

@ -5,7 +5,7 @@ on:
branches:
- "*"
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- '*'
pull_request:
branches:
- "*"
@ -62,9 +62,8 @@ jobs:
deploy:
name: Deploy release
runs-on: ubuntu-latest
permissions: write-all
needs: [ build ]
if: github.event_name == 'push' && (github.ref == 'refs/heads/main')
if: startsWith(github.event.ref, 'refs/tags/')
steps:
- name: Check out files
uses: actions/checkout@v3.5.3
@ -78,7 +77,6 @@ jobs:
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: 'latest'
prerelease: false
draft: true
files: |