# Need help for github action adaption

**URL:** <https://discourse.julialang.org/t/need-help-for-github-action-adaption/84439>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 19, 2022, 3:43am UTC](https://discourse.julialang.org/t/need-help-for-github-action-adaption/84439 "2022-07-19T03:43:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rratic](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rratic/32/24917_2.png) [@Rratic](https://discourse.julialang.org/u/Rratic)\
**Post date:** [July 19, 2022, 3:43am UTC](https://discourse.julialang.org/t/need-help-for-github-action-adaption/84439/1 "2022-07-19T03:43:32Z")

</div>

Currently I’m developing a [package](https://github.com/JuliaRoadmap/DoctreePages.jl) and wants it to be easily used by github actions, and I plan to write the code under [src/git.jl](https://github.com/JuliaRoadmap/DoctreePages.jl/blob/master/src/git.jl)  
But the problem is I can’t figure out what I should do after reading related docs and viewing related questions. I don’t know whether I need to call libgit2 or where the files are stored. So I’m asking for help here and hope someone can help write the code or show me the correct routine.

Information:  
What I want: `read data in branch master` → `deal with it` → `write them to branch gh-pages` (the dealing process can be done by [an already existing function](https://github.com/JuliaRoadmap/DoctreePages.jl/blob/7cefb50474ee24ba71e5e3379ccf3794cec553fa/src/tree.jl#L42-L58))  
the workflow sample is [here](https://github.com/JuliaRoadmap/DoctreePages.jl/blob/master/.github/workflow/builddocs.yml), thought i’m not sure it works  
details aren’t required currently

If you’re willing to pr, remember to write your name in project.toml : author key

---

<div class="post-metadata">

**Author:** ![Rratic](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rratic/32/24917_2.png) [@Rratic](https://discourse.julialang.org/u/Rratic)\
**Post date:** [July 19, 2022, 11:50pm UTC](https://discourse.julialang.org/t/need-help-for-github-action-adaption/84439/2 "2022-07-19T23:50:15Z")

</div>

So… someone told me that I can use the tool `peaceiris/actions-gh-pages`, I guess it can solve the problem at least.
