8000 Merge pull request #1349 from cp-algorithms/adamant-pwn-patch-2 · cp-algorithms/cp-algorithms@077e1eb · GitHub
[go: up one dir, main page]

Skip to content

Commit 077e1eb

Browse files
authored
Merge pull request #1349 from cp-algorithms/adamant-pwn-patch-2
Update upload-artifact for workflows
2 parents 4a4207b + a1a690f commit 077e1eb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
key: test-${{ github.event_name }}-github-users-v0.1
3030
- name: Build pages
3131
env:
32-
MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.PAT_API_KEY }}
33-
MKDOCS_ENABLE_GIT_REVISION_DATE: ${{ secrets.PAT_API_KEY && 'True' || 'False' }}
34-
MKDOCS_ENABLE_GIT_COMMITTERS: ${{ secrets.PAT_API_KEY && 'True' || 'False' }}
32+
MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.GITHUB_TOKEN }}
33+
MKDOCS_ENABLE_GIT_REVISION_DATE: ${{ secrets.GITHUB_TOKEN && 'True' || 'False' }}
34+
MKDOCS_ENABLE_GIT_COMMITTERS: ${{ secrets.GITHUB_TOKEN && 'True' || 'False' }}
3535
run: |
3636
mkdocs build --strict
3737
- name: Upload build pages as artifact
38-
uses: actions/upload-artifact@v2
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: page-build
4141
path: public/

0 commit comments

Comments
 (0)
0