mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-20 05:58:50 +01:00
Adapt GH actions for new branches
This commit is contained in:
parent
83252617be
commit
3f47386cba
@ -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 }}
|
@ -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 }}
|
Loading…
Reference in New Issue
Block a user