From 9a5eacded501a75751aae0163455eab5de416e53 Mon Sep 17 00:00:00 2001 From: vineethkuttan <66076509+vineethkuttan@users.noreply.github.com> Date: Thu, 12 Feb 2026 14:13:43 +0530 Subject: [PATCH] Modifying GitHub Actions website workflow to the previous state This reverts commit f08b9840f0084e1144b3232030de0a73708bbd6e. --- .github/workflows/website-publish.yml | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/.github/workflows/website-publish.yml b/.github/workflows/website-publish.yml index 2ab78b235..48d9f9e9b 100644 --- a/.github/workflows/website-publish.yml +++ b/.github/workflows/website-publish.yml @@ -1,4 +1,3 @@ - name: RNW Website Publish on: @@ -14,31 +13,21 @@ 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 - + echo "machine github.com login 53619745+rnbot password ${{ secrets.RNBOT_GH_TOKEN }}" > ~/.netrc + - name: Git Checkout + uses: actions/checkout@v2 - 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 }} + GIT_USER: 53619745+rnbot run: yarn run publish-gh-pages working-directory: ./website - - - name: Cleanup Netrc + - name: Git Cleanup run: rm ~/.netrc