GitHub Actions yml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

GitHub Actions yml

Anthony Whitford
I am migrating an open source project from Travis CI to GitHub Actions.

This GitHub documentation provides basic CI guidance:  https://docs.github.com/en/actions/guides/building-and-testing-java-with-maven <https://docs.github.com/en/actions/guides/building-and-testing-java-with-maven>

However, I would ideally also like to see workflows for running Site (and SCM-Publish to GitHub Pages), and a workflow for running Release.

Is there a good reference for a maven.yml file?

Reply | Threaded
Open this post in threaded view
|

Re: GitHub Actions yml

Cesar Hernandez
Hi Anthony,

I haven't configured yet actions with the specific tasks you described, but
early this week I found this reference for release:prepare release:perform:
https://github.com/wocommunity/wonder/blob/master/.github/workflows/release.yml

I also encourage you to check Actions security best practices like the
usage of persist-credentials: false.

El sáb, 13 feb 2021 a las 21:06, Anthony Whitford (<[hidden email]>)
escribió:

> I am migrating an open source project from Travis CI to GitHub Actions.
>
> This GitHub documentation provides basic CI guidance:
> https://docs.github.com/en/actions/guides/building-and-testing-java-with-maven
> <
> https://docs.github.com/en/actions/guides/building-and-testing-java-with-maven
> >
>
> However, I would ideally also like to see workflows for running Site (and
> SCM-Publish to GitHub Pages), and a workflow for running Release.
>
> Is there a good reference for a maven.yml file?
>
>

--
Atentamente:
César Hernández.
Reply | Threaded
Open this post in threaded view
|

Re: GitHub Actions yml

Mark Prins
In reply to this post by Anthony Whitford
Op 14-02-2021 om 04:05 schreef Anthony Whitford:
> However, I would ideally also like to see workflows for running Site (and SCM-Publish to GitHub Pages)

there's a generic publishing action you can use to push some directory
into a gh-pages branch:
https://github.com/JamesIves/github-pages-deploy-action

haven't used it, but here's an example:
https://github.com/jeremylong/DependencyCheck/blob/main/.github/workflows/release.yml#L242

also does some other nifty things re releases

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]