Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy to github-pages with travis #4

Open
GabLeRoux opened this issue Sep 19, 2018 · 0 comments
Open

Deploy to github-pages with travis #4

GabLeRoux opened this issue Sep 19, 2018 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@GabLeRoux
Copy link
Member

GabLeRoux commented Sep 19, 2018

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/
@GabLeRoux GabLeRoux added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant