Merge branch 'feature/updates_gitea_workflow' into master
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
name: Build, Test and Package Release
|
||||
name: Continuous Integration
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
@@ -103,7 +105,7 @@ jobs:
|
||||
|
||||
deploy:
|
||||
needs: [build, test]
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
|
||||
uses: ./.gitea/workflows/deploy.yaml
|
||||
with:
|
||||
artifact_name: dist
|
||||
Reference in New Issue
Block a user