Skip to content

Commit

Permalink
migrate blog to LoveIt theme
Browse files Browse the repository at this point in the history
  • Loading branch information
shineyruan committed Mar 30, 2023
1 parent 7129cdc commit ae61754
Show file tree
Hide file tree
Showing 271 changed files with 2,011 additions and 687 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/deploy-site.yaml
Expand Up @@ -14,29 +14,17 @@ jobs:
- uses: actions/checkout@v3

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2.6.0
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true

- name: Update Hugo Modules
run: hugo mod tidy

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install node modules
run: |
hugo mod npm pack
npm install
- name: Build
run: hugo --minify

# push the generated content into the `gh-pages` branch.
- name: Deploy
uses: peaceiris/actions-gh-pages@v3.9.0
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: master # if your main branch is `master` use that here.
Expand Down
6 changes: 6 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,6 @@
{
"cSpell.words": [
"lightgallery",
"mapbox"
]
}

0 comments on commit ae61754

Please sign in to comment.