Giter Site home page Giter Site logo

Deploy built DOCX to Github pages about rootstock HOT 4 OPEN

habi avatar habi commented on June 12, 2024
Deploy built DOCX to Github pages

from rootstock.

Comments (4)

agitter avatar agitter commented on June 12, 2024

That has to do with the deploy script. The current behavior is to commit the files written in the output directory to the output branch, which includes the docx file, and to commit the files written to the webpage directory to the gh-pages branch, which does not include the docx file.

You could probably modify deploy.sh to copy the docx output file into the webpage directory before this command makes the commit to the gh-pages branch:

ghp-import \
  --no-jekyll \
  --follow-links \
  --push \
  --branch=gh-pages \
  --message="$MESSAGE" \
  webpage

If you want to try doing that, I can give more detail. It should even be possible to track the versions of the docx file in the versioned GitHub pages URLs.

from rootstock.

dhimmel avatar dhimmel commented on June 12, 2024

Noting that the DOCX is getting saved to the output branch, so if you are okay with a URL like https://github.com/habi/EAWAG-manuscript/raw/output/manuscript.docx that might be all you need.

from rootstock.

agitter avatar agitter commented on June 12, 2024

Maybe adding a link from the manuscript front matter to that output branch URL would be a quick solution? It's much easier than modifying the deploy script.

from rootstock.

habi avatar habi commented on June 12, 2024

I'll try to fiddle with the deploy script, but having a link to the output branch is a quick and easy solution, yeah!

from rootstock.

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.