-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #589 from UBC-DSCI/main
Public site rebuild
- Loading branch information
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ jobs: | |
- name: Clean the site contents except for dev, pull contents of dev/ to main site | ||
run: | | ||
# delete everything except the dev folder | ||
ls -1 --hide=dev | xargs rm -rf | ||
find . ! -name "dev" -maxdepth 1 -delete | ||
# copy the contents of dev into the root | ||
cp -rf dev/* . | ||
|
@@ -39,5 +39,5 @@ jobs: | |
uses: peaceiris/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
force_orphan: true # this will clean up all previous PR previews / main branch preview | ||
force_orphan: true | ||
cname: datasciencebook.ca |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters