Skip to content

added new post file #131

added new post file

added new post file #131

Workflow file for this run

name: Stage site on Firebase
on:
pull_request:
branches:
- main
# Declare default permissions as read only.
permissions: read-all
jobs:
stage:
permissions:
contents: read
checks: write
pull-requests: write
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.head.repo.full_name == 'cfug/flutter.cn' }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: recursive
- name: Build site
run: make stage-local
- name: Stage
if: ${{
github.repository == 'cfug/flutter.cn' &&
github.event.pull_request.user.login != 'dependabot[bot]' }}
uses: cfug/doc-site-preview-in-pr@main
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_FLUTTER_CN_DOCS_PROD }}'
expires: 14d
projectId: flutter-cn-docs-prod
showDetailedUrls: true
fileExtensionFilter: "md, html"