chore: Align with react-native@0.74 as oldest supported version (#6629) #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs Reanimated publish | |
env: | |
YARN_ENABLE_HARDENED_MODE: 0 | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- packages/docs-reanimated/** | |
workflow_dispatch: | |
jobs: | |
publish: | |
if: github.repository == 'software-mansion/react-native-reanimated' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Generate awesome content | |
run: >- | |
git config --local user.email "action@github.com" | |
&& git config --local user.name "GitHub Action" | |
&& cd packages/docs-reanimated | |
&& yarn | |
&& yarn build | |
- name: Publish generated content to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
FOLDER: packages/docs-reanimated/build | |
BRANCH: gh-pages | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |