Skip to content

Commit 5ed3448

Browse files
authored
Merge branch 'alpha' into dependabot/npm_and_yarn/metro-react-native-babel-preset-0.75.0
2 parents 21cb026 + e17722a commit 5ed3448

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: release-manual-docs
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
tag:
6+
default: ''
7+
description: 'Version tag:'
8+
jobs:
9+
docs-publish:
10+
if: github.event.inputs.tag != ''
11+
runs-on: ubuntu-18.04
12+
timeout-minutes: 15
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
ref: ${{ github.event.inputs.tag }}
17+
- name: Use Node.js
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: 16
21+
- name: Cache Node.js modules
22+
uses: actions/cache@v2
23+
with:
24+
path: ~/.npm
25+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
26+
restore-keys: |
27+
${{ runner.os }}-node-
28+
- name: Generate Docs
29+
run: |
30+
npm ci
31+
npm run release_docs
32+
env:
33+
SOURCE_TAG: ${{ github.event.inputs.tag }}
34+
- name: Deploy
35+
uses: peaceiris/[email protected]
36+
with:
37+
github_token: ${{ secrets.GITHUB_TOKEN }}
38+
publish_dir: ./docs

0 commit comments

Comments
 (0)