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: on:
push: push:
branches: branches:
- dev - release
jobs: jobs:
build_and_publish: build_and_publish:
@ -30,8 +30,8 @@ jobs:
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
files: dist/* files: dist/*
tag_name: ci-dev tag_name: ci-release
name: Continuous Release (Dev) name: Continuous Release (Release)
prerelease: true prerelease: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

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