Skip to content

Use Github Actions to build and deploy the website - #65

Merged
leouieda merged 1 commit into
masterfrom
actions
Jul 23, 2020
Merged

leouieda merged 1 commit into
masterfrom
actions

Conversation

@leouieda

Copy link
Copy Markdown
Member

Replaces TravisCI and doctr. It's a lot simpler to set up and actually
runs faster (though that's not a big issue here).

Replaces TravisCI and doctr. It's a lot simpler to set up and actually
runs faster (though that's not a big issue here).
@leouieda
leouieda requested a review from seisman July 23, 2020 20:32
@vercel

vercel Bot commented Jul 23, 2020

Copy link
Copy Markdown

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/gmt/website/gzecg6djv
✅ Preview: https://website-git-actions.gmt.vercel.app

@leouieda

Copy link
Copy Markdown
Member Author

I was experimenting with Github Actions a bit and decided to try this as a test. It worked perfectly for my own website so porting it here as well. Setup was actually pretty straight forward. I had to setup deploy keys since we need to push to a different repository but the instructions here were easy to follow: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-create-ssh-deploy-key

This might work for the project docs as well with some modification since we need to maintain the older versions of the docs in the gh-pages branch.

@leouieda
leouieda merged commit 14bc9eb into master Jul 23, 2020
@leouieda
leouieda deleted the actions branch July 23, 2020 20:37
@seisman

seisman commented Jul 23, 2020

Copy link
Copy Markdown
Member

I also find github actions easier to use and understand.

Recently, @weiji14 and I also migrated most of the CI jobs of the PyGMT project from Azure Pipelines to GitHub Actions.

@weiji14

weiji14 commented Jul 23, 2020

Copy link
Copy Markdown
Member

Yeah, there was a lot of work doing the CI migration (especially with the cache!) but I think it's worth it, I much prefer viewing the logs on Github than Azure Pipelines (though technically they're both Azure according to this).

@leouieda

Copy link
Copy Markdown
Member Author

I saw that (going through my notifications is was what made me look into this actually). Thanks for doing all of that! I’m going to experiment on a test project with the docs and PyPI deployments.

This branch was successfully deployed

1 active deployment
Preview — 7f88fb2d Deployed Jul 23, 2020 by vercel[bot]
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.

3 participants