build: remove deploy part from github actions
This commit is contained in:
14
.github/workflows/main.yaml
vendored
14
.github/workflows/main.yaml
vendored
@@ -60,7 +60,7 @@ jobs:
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test, module-build]
|
||||
needs: [ test, module-build ]
|
||||
if: github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -159,15 +159,3 @@ 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