Skip to content

chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 #3713

chore(deps): bump follow-redirects from 1.15.4 to 1.15.6

chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 #3713

name: Deploy Documentation
on:
workflow_dispatch:
repository_dispatch:
types: [release]
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, closed, labeled]
branches:
- main
jobs:
build_and_deploy_job:
if: |
(
github.event_name == 'push'
|| (github.event_name == 'pull_request' && github.event.action != 'closed')
|| (github.event.label.name == 'Documentation')
)
&& github.actor != 'csigs'
&& github.actor != 'azure-logic-apps-automation'
&& (contains(github.event.pull_request.labels.*.name, 'Documentation') || github.event_name == 'push')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Node.js version 20.x
uses: actions/setup-node@v1
with:
node-version: 20.x
- run: npm ci
- run: npm run build:docs
- 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'
skip_app_build: true
app_build_command: 'npm run build:docs'
app_location: 'dist/apps/logic-apps-ux-docs'
output_location: 'dist/apps/logic-apps-ux-docs'
close_pull_request_job:
if: (github.event_name == 'pull_request' && github.event.action == 'closed') && github.actor != 'csigs' && github.actor != 'azure-logic-apps-automation'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
app_location: 'dist/apps/logic-apps-ux-docs'
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
action: 'close'