File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed
Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change 1-
21name : RNW Website Publish
32
43on :
@@ -14,31 +13,21 @@ jobs:
1413 publish_website :
1514 name : Website Publish
1615 runs-on : ubuntu-latest
17-
1816 steps :
1917 - name : Git Setup
2018 run : |
2119 git config --global user.email "53619745+rnbot@users.noreply.github.com"
2220 git config --global user.name "React-Native-Windows Bot"
23- echo "machine github.com login x-access-token password ${RNBOT_GH_TOKEN}" > ~/.netrc
24- env :
25- RNBOT_GH_TOKEN : ${{ secrets.RNBOT_GH_TOKEN }}
26-
27- - name : Checkout Repo
28- uses : actions/checkout@v4
29- with :
30- fetch-depth : 0 # required for gh-pages push
31-
21+ echo "machine github.com login 53619745+rnbot password ${{ secrets.RNBOT_GH_TOKEN }}" > ~/.netrc
22+ - name : Git Checkout
23+ uses : actions/checkout@v2
3224 - name : Yarn Install (Website)
3325 run : yarn install --frozen-lockfile
3426 working-directory : ./website
35-
3627 - name : Publish to GitHub Pages
3728 env :
38- GIT_USER : x-access-token
39- GIT_PASS : ${{ secrets.RNBOT_GH_TOKEN }}
29+ GIT_USER : 53619745+rnbot
4030 run : yarn run publish-gh-pages
4131 working-directory : ./website
42-
43- - name : Cleanup Netrc
32+ - name : Git Cleanup
4433 run : rm ~/.netrc
You can’t perform that action at this time.
0 commit comments