Skip to content

feat: deploy via GitHub action#1509

Merged
ojeytonwilliams merged 2 commits intofreeCodeCamp:masterfrom
ojeytonwilliams:feat/migrate-to-actions
Mar 29, 2021
Merged

feat: deploy via GitHub action#1509
ojeytonwilliams merged 2 commits intofreeCodeCamp:masterfrom
ojeytonwilliams:feat/migrate-to-actions

Conversation

@ojeytonwilliams
Copy link
Copy Markdown
Contributor

@ojeytonwilliams ojeytonwilliams commented Mar 29, 2021

@simon04 could you give this a quick sanity check? It's basically what @jmerle suggested, with the heroku-deploy action at the end.

If you're happy please merge, then we can see if deployments start happening again.

Fixes #1508.

@ojeytonwilliams ojeytonwilliams requested a review from simon04 March 29, 2021 11:08
@ojeytonwilliams ojeytonwilliams requested a review from a team as a code owner March 29, 2021 11:08
Copy link
Copy Markdown
Contributor

@simon04 simon04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Let's give it a try! 🚀


script:
- if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then bundle exec rake; fi
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then bundle exec thor updates:check --github-token $GH_TOKEN --upload; fi
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The thor updates:check runs once a month and can probably be added later once the deployment is working again.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. I'll add a second action to trigger those on the current schedule.

@ojeytonwilliams ojeytonwilliams merged commit 08eeae3 into freeCodeCamp:master Mar 29, 2021
@ojeytonwilliams ojeytonwilliams deleted the feat/migrate-to-actions branch March 29, 2021 12:31
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.

Deployment via Travis CI stopped working

2 participants