Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Merge pull request #1461 from t0wbo2t/patch-1#481

Merge pull request #1461 from t0wbo2t/patch-1

Merge pull request #1461 from t0wbo2t/patch-1 #481

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/'

[8]ページ先頭

©2009-2025 Movatter.jp