Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
/ redeploy Public archive

🎨 Deploy your subreddit stylesheets to reddit.com.

License

Notifications You must be signed in to change notification settings

VolunteerLiveTeam/redeploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 redeploy npm

redeploy deploys subreddit stylesheets to reddit.com as part of a gulp pipeline.

Usage

# yarn
$ yarn add redeploy

# npm
$ npm install --save redeploy
var redeploy = require('redeploy')({
  clientID: 'reddit api client id',
  clientSecret: 'reddit api client secret',
  username: 'reddit username',
  password: 'reddit password',
  subreddit: 'subreddit to deploy to (without /r/ prefix)'
})

gulp.task('deploy-css', function() {
  return gulp.src('*.css')
    // you may want to minify your css here
    .pipe(redeploy.css())
});

gulp.task('deploy-images', function() {
  return gulp.src('img/*')
    .pipe(redeploy.images())
});

About

🎨 Deploy your subreddit stylesheets to reddit.com.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published