Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn theme into a hugo module #134

Merged
merged 6 commits into from
Mar 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/fresh-to-vercel-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,9 @@ jobs:
- name: Build with Hugo on PR
working-directory: exampleSite
run: |
git clone https://github.com/StefMa/hugo-fresh themes/hugo-fresh
cd themes/hugo-fresh
git fetch origin ${{ github.ref }}:pr-branch-name
git checkout pr-branch-name
cd ../..
hugo \
--minify \
--baseURL https://hugo-fresh-${{ github.run_number }}.vercel.app
--baseURL https://hugo-fresh-${{ github.event.pull_request.head.user.login }}-${{ github.event.pull_request.head.ref }}.vercel.app

- name: Save hugo as artifact
uses: actions/upload-artifact@v3
Expand All @@ -37,7 +32,7 @@ jobs:
- name: Save alias domain
run: |
mkdir -p ./alias-domain
echo https://hugo-fresh-${{ github.run_number }}.vercel.app > ./alias-domain/alias-domain
echo hugo-fresh-${{ github.event.pull_request.head.user.login }}-${{ github.event.pull_request.head.ref }}.vercel.app > ./alias-domain/alias-domain

- name: Save alias domain as artifact
uses: actions/upload-artifact@v3
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/fresh-to-vercel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
- name: Build with Hugo on master
working-directory: exampleSite
run: |
git clone https://github.com/StefMa/hugo-fresh themes/hugo-fresh
hugo \
--minify \
--baseURL https://hugo-fresh.vercel.app/
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
public
.hugo_build.lock
8 changes: 0 additions & 8 deletions assets/bulma/bulma.sass

This file was deleted.

5 changes: 0 additions & 5 deletions assets/bulma/sass/base/_all.sass

This file was deleted.

127 changes: 0 additions & 127 deletions assets/bulma/sass/base/generic.sass

This file was deleted.

Loading