mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
chore: remove deploy preview workflow from GitHub Actions
- Deleted the deploy preview workflow file as it is no longer needed. - This change simplifies the workflow configuration and reduces maintenance overhead.
This commit is contained in:
parent
6779856340
commit
d198755d25
54
.github/workflows/deploy-preview.yml
vendored
54
.github/workflows/deploy-preview.yml
vendored
@ -1,54 +0,0 @@
|
||||
name: Upload Preview Deployment
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows:
|
||||
- "Build Preview Deployment"
|
||||
types:
|
||||
- completed
|
||||
|
||||
permissions:
|
||||
actions: write
|
||||
deployments: write
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
on-success:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
steps:
|
||||
- name: Debug Event
|
||||
run: |
|
||||
echo "Event name: ${{ github.event_name }}"
|
||||
echo "Workflow name: ${{ github.event.workflow.name }}"
|
||||
echo "Workflow run id: ${{ github.event.workflow_run.id }}"
|
||||
echo "Workflow run number: ${{ github.event.workflow_run.run_number }}"
|
||||
echo "Workflow run conclusion: ${{ github.event.workflow_run.conclusion }}"
|
||||
echo "Workflow run event: ${{ github.event.workflow_run.event }}"
|
||||
|
||||
deploy-preview:
|
||||
needs: on-success
|
||||
runs-on: ubuntu-latest
|
||||
name: Deploy Preview to Cloudflare Pages
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: preview-build
|
||||
path: build
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
run-id: ${{ github.event.workflow_run.id }}
|
||||
|
||||
- name: List files
|
||||
run: ls -la build
|
||||
|
||||
- name: Deploy to Cloudflare Pages
|
||||
uses: AdrianGonz97/refined-cf-pages-action@v1
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
|
||||
deploymentName: Preview
|
||||
directory: build
|
@ -107,7 +107,7 @@ const Search = () => {
|
||||
<PopoverContent className="w-[200px] p-0">
|
||||
<Command shouldFilter={false}>
|
||||
<CommandInput
|
||||
placeholder="Search tags..."
|
||||
placeholder="Search tags...."
|
||||
value={tagSearch}
|
||||
onValueChange={setTagSearch}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user