Skip to content

Commit e175958

Browse files
Chore: correct the params used with the peaceiris/actions-gh-pages@v4 plugin (#3736)
1 parent 71b912b commit e175958

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,30 @@ on:
55
release:
66
types: [published]
77
schedule:
8-
- cron: '0 7 * * 2' # Runs every Tuesday at midnight MST (7am UTC)
8+
- cron: "0 7 * * 2" # Runs every Tuesday at midnight MST (7am UTC)
99

1010
jobs:
1111
build-and-deploy:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15-
15+
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: 'lts/*'
20-
19+
node-version: "lts/*"
20+
2121
- name: Install dependencies
2222
run: npm ci
23-
23+
2424
- name: Build course
2525
run: grunt build
26-
26+
2727
- name: Deploy to GitHub Pages
2828
uses: peaceiris/actions-gh-pages@v4
2929
with:
30-
deploy_key: ${{ secrets.RELEASES_TOKEN }}
30+
personal_token: ${{ secrets.RELEASES_TOKEN }}
3131
external_repository: adaptlearning/adaptlearning.github.io
3232
publish_branch: master
3333
publish_dir: ./build
3434
destination_dir: v5demo
35-

0 commit comments

Comments
 (0)