Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Commit

Permalink
Add automated website deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Dec 7, 2015
1 parent 4fc4f9f commit 0f40c6b
Show file tree
Hide file tree
Showing 37 changed files with 3,006 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,18 @@ language: objective-c
xcode_workspace: radiant-player-mac.xcworkspace
xcode_scheme: Radiant Player
osx_image: xcode7.1

cache:
- bundler
- cocoapods

after_success:
- ./script/deploy-website.sh

env:
global:
- GH_USER=radiant-bot
- [email protected]
- GH_REF=github.com/radiant-player/radiant-player-mac.git
# GH_TOKEN=encrypted
- secure: "UWsfTVZLoJi2QmvhvzYYhzhkuM5KaZqNKPFAgz2UOQWDAAd5yQ1ekOhhR+lZdGA4aLqab1LOLSIoEKkfhy2W0XI9dN4R+bKNl3A0Q7RRopQpYnvLkWbglNommBeg7BDz1KHESfx0ku9PwicpiwMXSc9NBRd7XByfUreX0aBjXMiC+xq+EADiQDbd/LJ6GFxYEa0QxcQfM2ut+PFCuugitTBgmaUsHRL9GeNGquiMpW4kweSeq3O5afWd842S8FSdd2SFibdqMB5REcgFXWYEL1VDCn+vn8n7rhGdCmBb5hD/BoK8dWqzxj01GH/cBcjlNsVcHsHlfFfrpLGg4MP5j9mrJy4baq79Cw/aU7IiCagT3rpoQ84KORqpHl6kBIRMZaS0E7DjMexLhTZ9Mab40L2X3VQj6VyKIxKHOsfM0SFzAS6Z5vMm99BUydnHZSIgL39qkg6YKEFAy5eaIskeavpWw6w+N0gayBReH5K0UmSbGLv8so3eIohvOswZ742Yj8/T528fOwRZQXKBthQpBJF7H9L2gsm9nEvv9puY26ueSm16eyAbRVzIf7tdUgeQyLDtjoHudghTyVZVV0GWbQD0ap7yQjD61/rjQMibiGe3ZlN8AjtCfoWK+DqzP6g2HKxGb3MpOeT6Pq3BDh1QKndqr37vom/H7iRZOe1b/NM="
18 changes: 18 additions & 0 deletions scripts/deploy-website.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash

if [[ "$TRAVIS_PULL_REQUEST" != "false" && "$TRAVIS_BRANCH" != "master" ]]; then
echo "Skipping deploy - this is not master"
exit 0
fi

cd website

git init

git config user.name "${GH_USER}"
git config user.email "${GH_EMAIL}"

git add .
git commit -m "Deploy to GitHub Pages"

git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1
3 changes: 3 additions & 0 deletions website/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Xcode
*.pbxproj
*.xcuserstate
25 changes: 25 additions & 0 deletions website/appcast/appcast.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Radiant Player Changelog</title>
<link>https://radiant-player.github.io/radiant-player-mac/appcast/appcast.xml</link>
<description>Most recent changes with links to updates.</description>
<language>en</language>

<item>
<title>v1.5.0</title>
<sparkle:releaseNotesLink>
https://radiant-player.github.io/radiant-player-mac/release-notes/v1.5.0.html
</sparkle:releaseNotesLink>
<pubDate>Sat, 31 Oct 2015 22:18:33 +0000</pubDate>
<enclosure
url="https://github.com/radiant-player/radiant-player-mac/releases/download/v1.5.0/Radiant.Player.zip"
sparkle:version="1.5.0"
length="2673676"
type="application/octet-stream"
sparkle:dsaSignature="MC4CFQCa2vrEpUVtAXjK2wWUwP460GjuVgIVALTsPhYGM7mMn0HC2e7bGXYKq2jC"
/>
<sparkle:minimumSystemVersion>10.9</sparkle:minimumSystemVersion>
</item>
</channel>
</rss>
Binary file added website/images/app-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/appearance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/application.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/body-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/highlight-bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/hr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/lastfm-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/lastfm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/media-keys.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/media-volume-keys.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/mini-player-alternate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/mini-player.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/octocat-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/styles/black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/styles/google.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/images/zip-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
158 changes: 158 additions & 0 deletions website/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
<link rel="stylesheet" type="text/css" href="slick/slick.css" media="screen" />
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<title>Radiant Player for Google Play Music - Beautifully integrate Google Play Music with your Mac</title>
</head>

<body>
<div id="container">
<div class="inner">

<header>
<h1><strong>Radiant Player</strong></h1>
<h2>for Google Play Music™</h2>
<div id="styles">
<div><a href="images/styles/google.png"><img src="images/styles/google.png"></a></div>
<div><a href="images/styles/black.png"><img src="images/styles/black.png"></a></div>
</div>
<h2>Turn Google Play Music into a separate, beautiful application that integrates with your Mac.</h2>
</header>

<section id="downloads" class="clearfix">
<a href="https://github.com/radiant-player/radiant-player-mac" id="view-on-github" class="button"><span>View on GitHub</span></a>
<a href="https://github.com/radiant-player/radiant-player-mac/releases/download/v1.5.0/Radiant.Player.zip" id="download-zip" class="button"><span>Download v1.5.0</span></a>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Radiant Player">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_SM.gif:NonHostedGuest">

<button type="submit" id="donate-button" class="button" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img src="images/heart.png"> <strong>Donate via</strong> <em>PayPal</em>
</button>
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</section>

<span id="requirements">
Donations go to the project maintainer.
<br>
<strong>No affiliation with Google.</strong> Requires Mac OS X 10.9 or above, and Adobe Flash Player.
<div id="release-notes">
<a id="release-notes-link" href="https://github.com/radiant-player/radiant-player-mac/releases/tag/v1.5.0">Release notes for Radiant Player v1.5.0:</a>
<div>
<p>Changes:</p>
<ul>
<li>Use the Sparkle update framework for more intuitive and user-friendly update process</li>
<li>Fix broken styling in Black theme (thanks <a href="https://github.com/shawn-mitch" class="user-mention">@shawn-mitch</a>)</li>
<li>Fix broken media keys by catching up to Google update</li>
<li>Fix broken Last.fm scrobbling in OS X 10.11 El Capitan (thanks <a href="https://github.com/chrismou" class="user-mention">@chrismou</a>)</li>
</ul>
<p>This release is largely to fix issues affecting the usability of Radiant Player. However,
the largest piece of news is that development of Radiant Player has been moved into an
organization on GitHub, and a few collaborators have been brought on board in order to
help develop Radiant Player and fix outstanding issues.</p>
<p>Thank you to everyone who pushed
for this! I'm sorry for the incredible delay between versions and addressing major issues,
but hopefully this will be less of concern going forward with the new organization.</p>
</div>
</div>
</span>

<hr>

<section id="features" class="clearfix">
<section class="feature clearfix">
<span class="title">Media keys</span>
<p class="description">
Control your music without having to switch applications. <strong>Radiant Player</strong>
responds to the media keys built into your Mac, allowing you to easily control the playback
of your music no matter what you're doing.
</p>
<img src="images/media-keys.png">
</section>

<hr>

<section class="feature clearfix">
<span class="title">Notifications</span>
<p class="description">
Get notifications whenever the currently playing song changes.
</p>
<img src="images/notification.png">
</section>

<hr>

<section class="feature clearfix" id="mini-player">
<span class="title">Mini player</span>
<p class="description">
Use the mini player in the system menu bar to control your music without interrupting you.<br>
Alternate between mini player sizes by clicking on the album art.
</p>
<img src="images/mini-player.png">
<img src="images/mini-player-alternate.png">
</section>

<hr>

<section class="feature clearfix">
<span class="title">Last.fm Integration</span>
<p class="description">
Update your Now Playing status and scrobble tracks to Last.fm.
</p>
<!-- <a href="http://last.fm"><img src="images/lastfm.png" width="250"></a> -->
<a href="images/lastfm-button.png"><img src="images/lastfm-button.png"></a>
</section>

<hr>

<section class="feature clearfix">
<span class="title">Adjustable appearance</span>
<p class="description">
Use custom styles built into <strong>Radiant Player</strong> to make it look
beautiful and integrated into your system, or stick with Google's original theme.
</p>

</section>
</section>

<footer>
Radiant Player is maintained by <a href="https://github.com/kbhomes">Sajid Anwar</a>. <br>
No affiliation with Google. Google Play is a trademark of Google Inc.<br>
Tactile theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.
</footer>


</div>
</div>

<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="slick/slick.min.js"></script>

<script type="text/javascript">
$('#styles').slick({
infinite: true,
slidesToShow: 1,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 3500,
speed: 1000
});
</script>
</body>
</html>
Empty file added website/javascripts/main.js
Empty file.
16 changes: 16 additions & 0 deletions website/release-notes/v1.5.0.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<div>
<p>Changes:</p>
<ul>
<li>Use the Sparkle update framework for more intuitive and user-friendly update process</li>
<li>Fix broken styling in Black theme (thanks <a href="https://github.com/shawn-mitch" class="user-mention">@shawn-mitch</a>)</li>
<li>Fix broken media keys by catching up to Google update</li>
<li>Fix broken Last.fm scrobbling in OS X 10.11 El Capitan (thanks <a href="https://github.com/chrismou" class="user-mention">@chrismou</a>)</li>
</ul>
<p>This release is largely to fix issues affecting the usability of Radiant Player. However,
the largest piece of news is that development of Radiant Player has been moved into an
organization on GitHub, and a few collaborators have been brought on board in order to
help develop Radiant Player and fix outstanding issues.</p>
<p>Thank you to everyone who pushed
for this! I'm sorry for the incredible delay between versions and addressing major issues,
but hopefully this will be less of concern going forward with the new organization.</p>
</div>
Binary file added website/slick/ajax-loader.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/slick/fonts/slick.eot
Binary file not shown.
13 changes: 13 additions & 0 deletions website/slick/fonts/slick.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/slick/fonts/slick.ttf
Binary file not shown.
Binary file added website/slick/fonts/slick.woff
Binary file not shown.
47 changes: 47 additions & 0 deletions website/slick/slick.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/* Slider */
.slick-slider { position: relative; display: block; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -ms-touch-action: none; touch-action: none; -webkit-tap-highlight-color: transparent; }

.slick-list { position: relative; overflow: hidden; display: block; margin: 0; padding: 0; }
.slick-list:focus { outline: none; }
.slick-loading .slick-list { background: white url(./ajax-loader.gif) center center no-repeat; }
.slick-list.dragging { cursor: pointer; cursor: hand; }

.slick-slider .slick-list, .slick-track, .slick-slide, .slick-slide img { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }

.slick-track { position: relative; left: 0; top: 0; display: block; zoom: 1; }
.slick-track:before, .slick-track:after { content: ""; display: table; }
.slick-track:after { clear: both; }
.slick-loading .slick-track { visibility: hidden; }

.slick-slide { float: left; height: 100%; min-height: 1px; display: none; }
.slick-slide img { display: block; }
.slick-slide img.slick-loading { background: white url(./ajax-loader.gif) center center no-repeat; padding-bottom: 100%; }
.slick-slide.dragging img { pointer-events: none; }
.slick-initialized .slick-slide { display: block; }
.slick-loading .slick-slide { visibility: hidden; }
.slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }

/* Icons */
@font-face { font-family: "slick"; src: url("./fonts/slick.eot"); src: url("./fonts/slick.eot?#iefix") format("embedded-opentype"), url("./fonts/slick.woff") format("woff"), url("./fonts/slick.ttf") format("truetype"), url("./fonts/slick.svg#slick") format("svg"); font-weight: normal; font-style: normal; }
/* Arrows */
.slick-prev, .slick-next { position: absolute; display: block; height: 20px; width: 20px; line-height: 0; font-size: 0; cursor: pointer; background: transparent; color: transparent; top: 50%; margin-top: -10px; padding: 0; border: none; outline: none; }
.slick-prev:focus, .slick-next:focus { outline: none; }
.slick-prev.slick-disabled:before, .slick-next.slick-disabled:before { opacity: 0.25; }

.slick-prev:before, .slick-next:before { font-family: "slick"; font-size: 20px; line-height: 1; color: #555; opacity: 0.85; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.slick-prev { left: -25px; }
.slick-prev:before { content: '\8592'; }

.slick-next { right: -25px; }
.slick-next:before { content: '\8594'; }

/* Dots */
.slick-slider { margin-bottom: 30px; }

.slick-dots { position: absolute; bottom: -45px; list-style: none; display: block; text-align: center; padding: 0px; width: 100%; }
.slick-dots li { position: relative; display: inline-block; height: 20px; width: 20px; margin: 0px 5px; padding: 0px; cursor: pointer; }
.slick-dots li button { border: 0; background: transparent; display: block; height: 20px; width: 20px; outline: none; line-height: 0; font-size: 0; color: transparent; padding: 5px; cursor: pointer; outline: none; }
.slick-dots li button:focus { outline: none; }
.slick-dots li button:before { position: absolute; top: 0; left: 0; content: '\8226'; width: 20px; height: 20px; font-family: "slick"; font-size: 6px; line-height: 20px; text-align: center; color: black; opacity: 0.25; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.slick-dots li.slick-active button:before { opacity: 0.75; }
Loading

0 comments on commit 0f40c6b

Please sign in to comment.