Skip to content

Merge pull request #1480 from ayushkrtiwari/main #486

Merge pull request #1480 from ayushkrtiwari/main

Merge pull request #1480 from ayushkrtiwari/main #486

name: Deploy Cloud Function
on:
push:
branches:
- main
jobs:
deploy_cloud_function:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- 'preview/**'
- id: 'auth'
uses: 'google-github-actions/auth@v2.1.6'
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
- id: 'deploy'
if: steps.changes.outputs.src == 'true'
uses: 'google-github-actions/deploy-cloud-functions@v0'
with:
project_id: 'cp-algorithms'
region: 'us-central1'
name: 'convert-markdown-mkdocs'
runtime: 'python37'
memory_mb: '1024'
service_account_email: 'cp-algorithms@appspot.gserviceaccount.com'
entry_point: 'main'
source_dir: 'preview/'
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy