Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions .github/workflows/update-pages.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
---
name: Update
permissions:
contents: read
permissions: {}

on:
pull_request:
branches:
- master
types:
- opened
- synchronize
- reopened
push:
branches:
- master
Expand All @@ -24,6 +17,8 @@ concurrency:

jobs:
update_pages:
permissions:
contents: read
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand Down Expand Up @@ -54,7 +49,7 @@ jobs:
python -m pip install -r requirements.txt

- name: Install npm dependencies
run: npm install --ignore scripts
run: npm install --ignore-scripts

- name: Get current date
id: date
Expand Down Expand Up @@ -138,7 +133,7 @@ jobs:
with:
github_token: ${{ secrets.GH_BOT_TOKEN }}
author_email: ${{ secrets.GH_BOT_EMAIL }}
author_name: ${{ secrets.GH_BOT_NAME }}
author_name: ${{ vars.GH_BOT_NAME }}
directory: gh-pages
branch: gh-pages
force: false
Expand Down
Loading