Skip to content

Deploy to github-pages with travis #4

@GabLeRoux

Description

@GabLeRoux

Travis support is now working. Project is being correctly built and it's only missing a job in .travis.yml to automatically push to gh-pages with the webgl artifact to deploy to github-pages

Here's the related documentation to accomplish this:
https://docs.travis-ci.com/user/deployment/pages/

We will need build stages

The deploy job will need to run after the webgl build success and deploy the artifact stored in ./Builds/WebGL/.

Draft

- stage: deploy
  if: type = push AND branch = master OR branch = feature/gh-pages # temporary branch to test the deployment
  script: skip
  deploy:
    - provider: pages
      skip_cleanup: true
      github_token: $GH_TOKEN  # Set in the settings page of your repository, as a secure variable
      keep_history: true
      local_dir: ./Builds/WebGL/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions