更新 .gitea/workflows/deploy-preview.yml
All checks were successful
Deploy previews (main_*) / preview (push) Successful in 11s
All checks were successful
Deploy previews (main_*) / preview (push) Successful in 11s
This commit is contained in:
parent
cd4bef3633
commit
3edbbff338
21
.gitea/workflows/deploy-preview.yml
Normal file
21
.gitea/workflows/deploy-preview.yml
Normal file
@ -0,0 +1,21 @@
|
||||
name: Deploy previews (main_*)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main_*'
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: deploy-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
preview:
|
||||
runs-on: ["native"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Deploy preview for this branch
|
||||
env:
|
||||
BRANCH: ${{ github.ref_name }}
|
||||
run: /usr/local/bin/deploy_krgm_branch.sh
|
||||
@ -1,14 +0,0 @@
|
||||
name: Deploy krgm (auto)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: [ "native" ]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Deploy to server
|
||||
run: /usr/local/bin/deploy_krgm.sh
|
||||
Loading…
Reference in New Issue
Block a user