Adapt GH actions for new branches

This commit is contained in:
Cohee 2023-07-23 00:28:02 +03:00
parent 83252617be
commit 3f47386cba
2 changed files with 8 additions and 8 deletions

View File

@ -1,9 +1,9 @@
name: Build and Publish Release (Dev)
name: Build and Publish Release (Release)
on:
push:
branches:
- dev
- release
jobs:
build_and_publish:
@ -30,8 +30,8 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: dist/*
tag_name: ci-dev
name: Continuous Release (Dev)
tag_name: ci-release
name: Continuous Release (Release)
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,9 +1,9 @@
name: Build and Publish Release (Main)
name: Build and Publish Release (Staging)
on:
push:
branches:
- main
- staging
jobs:
build_and_publish:
@ -30,8 +30,8 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: dist/*
tag_name: ci-main
name: Continuous Release (Main)
tag_name: ci-staging
name: Continuous Release (Staging)
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}