We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c2c289 commit 9142c35Copy full SHA for 9142c35
.github/workflows/publish_docs.yml
@@ -0,0 +1,29 @@
1
+name: Publish to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ publish:
10
+ if: github.repository == 'software-mansion/react-native-executorch'
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Check out
14
+ uses: actions/checkout@v1
15
16
+ - name: Generate docs
17
+ run: >-
18
+ git config --local user.email "[email protected]"
19
+ && git config --local user.name "GitHub Action"
20
+ && cd docs
21
+ && yarn
22
+ && yarn build
23
24
+ - name: Publish generated content to GitHub Pages
25
+ uses: JamesIves/github-pages-deploy-action@releases/v3
26
+ with:
27
+ FOLDER: docs/build
28
+ BRANCH: gh-pages
29
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments