Fix incorrect docs for sceneStyle #1113
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: Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy to Github Pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
# - name: Use crowdin | |
# run: | | |
# wget -c https://artifacts.crowdin.com/repo/deb/crowdin.deb -O crowdin.deb | |
# sudo dpkg -i crowdin.deb | |
# - name: Sync with crowdin | |
# env: | |
# CROWDIN_DOCUSAURUS_PROJECT_ID: react-navigation | |
# CROWDIN_DOCUSAURUS_API_KEY: ${{ secrets.CROWDIN_DOCUSAURUS_API_KEY }} | |
# run: | | |
# yarn crowdin-upload | |
# yarn crowdin-download | |
- name: Update sponsors list | |
env: | |
GITHUB_TOKEN: ${{ secrets.DEPLOY_GITHUB_TOKEN }} | |
run: yarn fetch-sponsors | |
- name: Publish to Github pages | |
env: | |
GITHUB_TOKEN: ${{ secrets.DEPLOY_GITHUB_TOKEN }} | |
GITHUB_EMAIL: ${{ secrets.DEPLOY_GITHUB_EMAIL }} | |
GIT_USER: ${{ secrets.DEPLOY_GITHUB_USER }} | |
CURRENT_BRANCH: $GITHUB_REF | |
run: | | |
git config --global user.email "$GITHUB_EMAIL" | |
git config --global user.name "$GITHUB_ACTOR" | |
echo "machine github.com login $GIT_USER password $GITHUB_TOKEN" > ~/.netrc | |
yarn deploy |