Git Product home page Git Product logo

Comments (10)

peaceiris avatar peaceiris commented on May 5, 2024 1

How about the following?

- submodules: true 
+ submodules: recursive

I think your job will succeed with this change!

from docsy-example.

capsulecorplab avatar capsulecorplab commented on May 5, 2024 1

@peaceiris It looks like that did it!

https://github.com/capsulecorplab/docsy-example/runs/702397971?check_suite_focus=true

from docsy-example.

peaceiris avatar peaceiris commented on May 5, 2024 1

I will add an example workflow to the README of the Hugo setup action for this type of theme. Thank you!
ʕ◔ϖ◔ʔ

from docsy-example.

peaceiris avatar peaceiris commented on May 5, 2024 1

Either is fine.

from docsy-example.

peaceiris avatar peaceiris commented on May 5, 2024

I got it. You need to install the dependencies: autoprefixer and postcss-cli. Please try the following workflow.

name: github pages

on:
  push:
    branches:
      - master

jobs:
  deploy:
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v2
        with:
          submodules: true  # Fetch Hugo themes
          # submodules: recursive  # Fetch the Docsy theme
          fetch-depth: 0    # Fetch all history for .GitInfo and .Lastmod

      - name: Setup Hugo
        uses: peaceiris/actions-hugo@v2
        with:
          hugo-version: '0.68.3'
          extended: true

      - name: Setup Node
        uses: actions/setup-node@v1
        with:
          node-version: '12.x'

      - name: Cache dependencies
        uses: actions/cache@v1
        with:
          path: ~/.npm
          key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
          restore-keys: |
            ${{ runner.os }}-node-

      - run: npm ci

      - name: Build
        run: hugo --minify

      - name: Deploy
        uses: peaceiris/actions-gh-pages@v3
        with:
          deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
          # or github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ./public

from docsy-example.

capsulecorplab avatar capsulecorplab commented on May 5, 2024

Same error 🙁

https://github.com/capsulecorplab/docsy-example/runs/700822678?check_suite_focus=true#step:7:4

from docsy-example.

peaceiris avatar peaceiris commented on May 5, 2024

Oh, I have no more idea...

from docsy-example.

peaceiris avatar peaceiris commented on May 5, 2024

Your deployment skipped due to the empty ACTIONS_DEPLOY_KEY. I recommend you to use the auto-generated auth token github_token: ${{ secrets.GITHUB_TOKEN }} rather than the deploy_key.

from docsy-example.

capsulecorplab avatar capsulecorplab commented on May 5, 2024

Your deployment skipped due to the empty ACTIONS_DEPLOY_KEY. I recommend you to use the auto-generated auth token github_token: ${{ secrets.GITHUB_TOKEN }} rather than the deploy_key.

@peaceiris ACTIONS_DEPLOY_KEY seems to have worked, but my forked Goldydocsy example doesn't quite look like the Goldlydocsy example. Should I still switch to using GITHUB_TOKEN?

from docsy-example.

capsulecorplab avatar capsulecorplab commented on May 5, 2024

Closing issue, since build seems to work as of https://github.com/capsulecorplab/docsy-example/runs/705398609?check_suite_focus=true

from docsy-example.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.