Skip to content

Commit cf5be4d

Browse files
authored
Merge pull request #144 from AritraDey-Dev/fix/production-deployment-cleanup
production deployment cleanup
2 parents ebfd512 + 58dff18 commit cf5be4d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/publish-docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ on:
1717
permissions:
1818
contents: write
1919
pull-requests: write
20+
pages: write
21+
id-token: write
2022

2123
jobs:
2224
build:
@@ -124,6 +126,8 @@ jobs:
124126
125127
deploy-production:
126128
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
129+
permissions:
130+
contents: write
127131
runs-on: ubuntu-latest
128132
needs: build
129133
steps:
@@ -140,4 +144,5 @@ jobs:
140144
uses: JamesIves/github-pages-deploy-action@v4
141145
with:
142146
branch: gh-pages
143-
folder: site
147+
folder: site
148+
clean: true

src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function HomepageHeader() {
1717
className="button button--secondary button--lg"
1818
to="/documentation/latest"
1919
>
20-
Get started
20+
Get Started
2121
</Link>
2222
</div>
2323
</div>

0 commit comments

Comments
 (0)