Skip to content

Commit

Permalink
Update hugo.yml
Browse files Browse the repository at this point in the history
Not sure if that worked, but I Changed some stuff for fleek deployment.
  • Loading branch information
one-eyed-bat authored Feb 24, 2024
1 parent b5158fd commit c0d6bfd
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,18 @@ jobs:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.120.4
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Deploy to Fleek
steps:
- uses: actions/checkout@v4
- name: Deploy test site
id: deploy
uses: fleekhq/action-deploy@v1
with:
apiKey: ${{ secrets.FLEEK_API_KEY }}
- name: Setup Pages
- name: Get output URL
run: echo "Deploy URL is {{
steps.deploy.outputs.deployUrl }}"
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
Expand Down

0 comments on commit c0d6bfd

Please sign in to comment.