feat(slider): add slider feature
This commit is contained in:
18
.github/workflows/main.yaml
vendored
18
.github/workflows/main.yaml
vendored
@@ -4,6 +4,8 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- 'issue/**'
|
||||
- develop
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -35,7 +37,6 @@ jobs:
|
||||
module-build:
|
||||
name: Build module.
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
@@ -60,6 +61,7 @@ jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test, module-build]
|
||||
if: github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -156,4 +158,16 @@ jobs:
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [release]
|
||||
if: github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- name: Trigger deployment
|
||||
run: |
|
||||
curl --fail-with-body -X POST "${{ secrets.SERVER_URL }}/index.php?route=github_deploy/deploy" \
|
||||
-d "token=${{ secrets.OC_API_KEY }}"
|
||||
|
||||
Reference in New Issue
Block a user