mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-01 16:50:12 +08:00
added deploy workflow
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
name: pre-commit
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_call:
|
||||
pull_request_target:
|
||||
|
||||
jobs:
|
||||
@@ -18,7 +16,7 @@ jobs:
|
||||
|
||||
# in case of push, check out the main branch
|
||||
- uses: actions/checkout@v3
|
||||
if: github.event_name == 'push'
|
||||
if: github.event_name != 'pull_request_target'
|
||||
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user