From c0d6bfd360ec5a22ac959daa21c9815166c0192b Mon Sep 17 00:00:00 2001 From: Michael Orlev <150728452+one-eyed-bat@users.noreply.github.com> Date: Sat, 24 Feb 2024 10:37:54 +0000 Subject: [PATCH] Update hugo.yml Not sure if that worked, but I Changed some stuff for fleek deployment. --- .github/workflows/hugo.yml | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index abad230..6a1113a 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -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