Update the generated specs for the old architecture to work on 0.77 (… #984
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: Publish to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
if: github.repository == 'software-mansion/react-native-gesture-handler' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v1 | |
- name: Generate docs | |
run: >- | |
git config --local user.email "action@github.com" | |
&& git config --local user.name "GitHub Action" | |
&& cd docs | |
&& yarn | |
&& yarn build | |
- name: Publish generated content to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
FOLDER: docs/build | |
BRANCH: gh-pages | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |