Skip to content

Commit 298406b

Browse files
authored
ci: Fix docs workflow (#924)
1 parent 0425ed1 commit 298406b

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/release-automated.yml

+9
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,12 @@ jobs:
5252
- name: Publish package
5353
working-directory: 'packages/${{ env.package }}'
5454
run: dart pub publish --force
55+
docs-publish:
56+
needs: release
57+
runs-on: ubuntu-latest
58+
timeout-minutes: 10
59+
steps:
60+
- name: Publish docs
61+
uses: parse-community/Parse-SDK-Flutter/.github/workflows/release-manual-docs@master
62+
with:
63+
tag: ${{ github.ref_name }}

.github/workflows/release-manual-docs.yml

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
tag:
66
default: ''
77
description: 'Version tag (dart-#.#.# or flutter-#.#.#):'
8+
workflow_call:
9+
inputs:
10+
tag:
11+
required: true
12+
type: string
813
env:
914
package: ${{ startsWith(github.event.inputs.tag, 'dart') && 'dart' || 'flutter' }}
1015
jobs:
@@ -19,6 +24,7 @@ jobs:
1924
- name: Setup dart
2025
uses: dart-lang/setup-dart@v1
2126
- name: Setup flutter
27+
if: env.package == 'flutter'
2228
uses: subosito/flutter-action@v2
2329
with:
2430
channel: 'stable'

0 commit comments

Comments
 (0)