fix: simplify workflow and add test workflow
This commit is contained in:
parent
dc3d2b5f25
commit
853de5b4ea
|
|
@ -3,15 +3,10 @@ name: Deploy to Dev
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main, master, develop, dev ]
|
branches: [ main, master, develop, dev ]
|
||||||
paths-ignore:
|
|
||||||
- '**.md'
|
|
||||||
- '.gitignore'
|
|
||||||
- '.cursor/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy-dev:
|
deploy-dev:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ gitea.event_name == 'push' }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy to Dev Server
|
- name: Deploy to Dev Server
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
name: Test Simple Workflow
|
||||||
|
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Test step
|
||||||
|
run: echo "Workflow triggered successfully!"
|
||||||
Loading…
Reference in New Issue