GithubHelp home page GithubHelp logo

javaday-site's Introduction

Maven site operations

Build and check locally

mvn clean site site:run

Deploy sur github page

Update settings.xml:

<server>
    <id>github</id>
    <password>OAUTH2TOKEN</password>
    <!-- it's password, not oauth2Token -->
</server>

Active profil deploy by running :

mvn clean site -Pdeploy

Deploy with github action

create personnal acces token (in Settings > Developer settings > Personal access tokens) with

  • privileges
    • repo - Full control of private repositories
    • repo:status - Access commit status
    • repo_deployment - Access deployment status
    • public_repo - Access public repositories
  • notifications - Access notifications
  • user - Update all user data
    • user:email - Access user email addresses (read-only)
    • user:follow - Follow and unfollow users

in project > settings > secrets > actions create a repository secret named : GH_TOKEN.

then in order to publish a new version push a new tag for instance :

# create a tag you your current date
git tag 202203212101
# push your tag to the github web site
git push origin --tags

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.