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 2527480 commit 9592c13
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish_website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:
cp -r img/ temp/img/
cp tutorial.slides.html temp/index.html
- name: Fetch latest changes from remote branch
run: |
git fetch origin website
git checkout website
git pull origin website
git checkout main
- name: Push files to website branch
uses: ad-m/github-push-action@master
with:
Expand Down

0 comments on commit 9592c13

Please sign in to comment.