Skip to content

chore: upgrade stripe ios to 24.1 (#1785) #353

chore: upgrade stripe ios to 24.1 (#1785)

chore: upgrade stripe ios to 24.1 (#1785) #353

Workflow file for this run

name: Generate docs
on:
push:
branches: [master]
jobs:
generate-docs:
name: generate-docs
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 16
- name: Install Dependencies
run: |
yarn example && yarn
- name: Build docs
run: yarn docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
commit_message: 'docs: update'
force_orphan: true