Skip to content

Commit

Permalink
Update Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cr-xu committed Feb 2, 2024
1 parent 98881bd commit 9323bf5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/publish_website.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: publish_webiste
name: publish_website

on:
push:
Expand Down Expand Up @@ -28,13 +28,13 @@ jobs:
cp -r img/ temp/img/
jupyter nbconvert tutorial.ipynb --to slides --reveal-prefix reveal.js --output temp/index.html
ls -R temp
- name: Push files to website branch
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: 'website'
directory: 'temp'
force: true
- name: Deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: webiste
FOLDER: temp
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


0 comments on commit 9323bf5

Please sign in to comment.