Skip to content

📦 Bump lodash from 4.17.21 to 4.17.23 in /website (#1137) #426

📦 Bump lodash from 4.17.21 to 4.17.23 in /website (#1137)

📦 Bump lodash from 4.17.21 to 4.17.23 in /website (#1137) #426

name: RNW Website Publish
on:
push:
branches:
- main
paths:
- '.github/workflows/website-publish.yml'
- 'docs/**'
- 'website/**'
jobs:
publish_website:
name: Website Publish
runs-on: ubuntu-latest
steps:
- name: Git Setup
run: |
git config --global user.email "53619745+rnbot@users.noreply.github.com"
git config --global user.name "React-Native-Windows Bot"
echo "machine github.com login x-access-token password ${RNBOT_GH_TOKEN}" > ~/.netrc
env:
RNBOT_GH_TOKEN: ${{ secrets.RNBOT_GH_TOKEN }}
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0 # required for gh-pages push
- name: Yarn Install (Website)
run: yarn install --frozen-lockfile
working-directory: ./website
- name: Publish to GitHub Pages
env:
GIT_USER: x-access-token
GIT_PASS: ${{ secrets.RNBOT_GH_TOKEN }}
run: yarn run publish-gh-pages
working-directory: ./website
- name: Cleanup Netrc
run: rm ~/.netrc