Skip to content

Commit c827564

Browse files
authored
Update and rename migrate.yml to classroom.yml
1 parent 2fe8315 commit c827564

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
name: Notebook-Classrom
44

55
# Only run on push to the master branch
6-
on: push
7-
# push:
8-
# branches: [ master ]
9-
# schedule:
10-
# # change this as you need it: https://help.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule
11-
# # runs at 1:30 every saturday
12-
# - cron: '30 1 * * 6'
6+
on:
7+
push:
8+
branches: [ master ]
9+
schedule:
10+
# change this as you need it: https://help.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule
11+
# runs at 1:30 every saturday
12+
- cron: '30 1 * * 6'
1313

1414
# Jobs to compile notebook classroom
1515
jobs:
@@ -56,10 +56,10 @@ jobs:
5656
[ -d ./img ] && mv ./img ./dist/img
5757
5858
# Deploy to Github Pages
59-
# - name: Deploy
60-
# uses: crazy-max/ghaction-github-pages@v1
61-
# with:
62-
# target_branch: gh-pages
63-
# build_dir: ./dist
64-
# env:
65-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
- name: Deploy
60+
uses: crazy-max/ghaction-github-pages@v1
61+
with:
62+
target_branch: gh-pages
63+
build_dir: ./dist
64+
env:
65+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)