diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1e7b37a..a3053af 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,10 +19,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Set up Node - uses: actions/setup-node@v2 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: 'lts/*' cache: 'npm' @@ -35,7 +35,7 @@ jobs: npm run build - name: Upload build output - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 #v4.6.2 with: name: build-output path: ./dist @@ -46,10 +46,10 @@ jobs: needs: [build] concurrency: deploy_prod_concurrency_group steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Download build output - uses: actions/download-artifact@v3 + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 with: name: build-output path: ./dist @@ -61,7 +61,7 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Deploy - uses: JamesIves/github-pages-deploy-action@v4.2.5 + uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3 with: branch: gh-pages folder: ./dist @@ -78,10 +78,10 @@ jobs: contents: write pull-requests: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Download build output - uses: actions/download-artifact@v3 + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 with: name: build-output path: ./dist @@ -93,14 +93,14 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Deploy to Preview Environment - uses: JamesIves/github-pages-deploy-action@v4.2.5 + uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3 with: branch: gh-pages folder: ./dist target-folder: '.${{ env.DEPLOY_PATH }}' - name: Create comment - uses: peter-evans/create-or-update-comment@v2 + uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0 with: issue-number: ${{ github.event.pull_request.number }} body: | diff --git a/src/App.tsx b/src/App.tsx index d1c2167..ad415cb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -77,7 +77,7 @@ function App() {