Skip to content

revamped website #3

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

Merged
merged 2 commits into from
Jan 24, 2021
Merged

revamped website #3

merged 2 commits into from
Jan 24, 2021

Conversation

pjb7687
Copy link
Member

@pjb7687 pjb7687 commented Jan 21, 2021

No description provided.

@pjb7687 pjb7687 mentioned this pull request Jan 21, 2021
@pjb7687 pjb7687 requested a review from slayoo January 24, 2021 23:41
@pjb7687 pjb7687 merged commit 8114328 into gnudatalanguage:master Jan 24, 2021
@pjb7687
Copy link
Member Author

pjb7687 commented Jan 24, 2021

I merged this since anything would be better than nothing... Thanks!

@slayoo
Copy link
Member

slayoo commented Jan 25, 2021

Thanks! How to deploy it?
The website still shows this:
image

@pjb7687
Copy link
Member Author

pjb7687 commented Jan 25, 2021

I thought travis-sphinx deploy does this automatically, but it doesn't seem to work.. I will try pushing to the source branch!

@pjb7687
Copy link
Member Author

pjb7687 commented Jan 25, 2021

If it doesn't work, then I have no clues.. I only know how to deploy using Github actions.

@slayoo
Copy link
Member

slayoo commented Jan 25, 2021

It does not work, I've reported it back in June 2019:
Syntaf/travis-sphinx#47

@pjb7687
Copy link
Member Author

pjb7687 commented Jan 25, 2021

I found the reason failed from Travis log. It is an authentication problem:

remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/gnudatalanguage/gnudatalanguage.github.io.git/'
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.7/bin/ghp-import", line 8, in <module>
    sys.exit(main())
  File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/ghp_import.py", line 275, in main
    ghp_import(args[0], **opts.__dict__)
  File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/ghp_import.py", line 259, in ghp_import
    git.check_call('push', opts['remote'], opts['branch'], '--force')
  File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/ghp_import.py", line 119, in check_call
    sp.check_call(['git'] + list(args), **kwargs)
  File "/opt/python/3.6.7/lib/python3.6/subprocess.py", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'push', 'https://[secure]@github.com/gnudatalanguage/gnudatalanguage.github.io.git', 'gh-pages', '--force']' returned non-zero exit status 128.
Error: /home/travis/virtualenv/python3.6.7/bin/ghp-import -p -f -n -r https://[secure]@github.com/gnudatalanguage/gnudatalanguage.github.io.git -m Update\ documentation doc/build
Done. Your build exited with 0.

@pjb7687
Copy link
Member Author

pjb7687 commented Jan 25, 2021

Seems like you can fix it by adding your personal access token to Travis build environment variable. However, I think GA is better in terms of security since it doesn't require access tokens stored as environment variables. What do you think?

@slayoo
Copy link
Member

slayoo commented Jan 25, 2021

Jeongbin, if only you could make it work with GA, I'm of course totally fine to switch to it

@pjb7687
Copy link
Member Author

pjb7687 commented Jan 25, 2021

That is super easy... Wait a moment

@pjb7687
Copy link
Member Author

pjb7687 commented Jan 25, 2021

Done. Any pushes to the source branch will deploy website.

@pjb7687
Copy link
Member Author

pjb7687 commented Jan 25, 2021

Well I can't delete master branch, but you can change default branch to source and remove master.

@slayoo
Copy link
Member

slayoo commented Jan 25, 2021

done!
big big thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants