mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
remove auto deploy of docs
This commit is contained in:
parent
667d89beb7
commit
2cb3e39c32
1 changed files with 0 additions and 31 deletions
31
.github/workflows/deploy-docs-to-azure.yaml
vendored
31
.github/workflows/deploy-docs-to-azure.yaml
vendored
|
|
@ -1,31 +0,0 @@
|
|||
name: Codeflash Docs Publish to Azure Static Web Apps
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- '.github/workflows/deploy-docs-to-azure.yaml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build_and_deploy_job:
|
||||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
|
||||
runs-on: ubuntu-latest
|
||||
name: Build and Deploy Job
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: Build And Deploy
|
||||
id: builddeploy
|
||||
uses: Azure/static-web-apps-deploy@v1
|
||||
with:
|
||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for GitHub integrations (i.e. PR comments)
|
||||
action: "upload"
|
||||
###### Repository/Build Configurations ######
|
||||
app_location: "docs" # App source code path relative to repository root
|
||||
output_location: "build" # Built app content directory, relative to app_location - optional
|
||||
###### End of Repository/Build Configurations ######
|
||||
Loading…
Reference in a new issue