Skip to content

Commit

Permalink
Merge pull request #4 from milindmore22/GH-3
Browse files Browse the repository at this point in the history
GH-3 Added Auto Deployment script.
  • Loading branch information
milindmore22 authored Jun 30, 2020
2 parents 7150e66 + c364436 commit 81f48a4
Show file tree
Hide file tree
Showing 14 changed files with 360 additions and 207 deletions.
34 changes: 34 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
.distignore
.git
.github
.gitignore
README.md
readme.md
*.swp
*.bak
.sass-cache
*.sass-cache
*/.sass-cache/
.scss-cache
*.scss-cache
*/.scss-cache/
scss/.sass-cache/
.bower-cache
.bower-registry
.bower-tmp
.idea
.idea/*
assets/node_modules
bower_components
.next
*.log
*.sql
.idea
.vscode
*.sublime-project
*.sublime-workspace
.DS_Store
Thumbs.db
.cache
.env
phpcs.xml
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: "\U0001F41B Bug report"
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

<!-- Thank you for reporting a possible bug. Please fill in as much of the template below as you can. -->

**Describe the bug**
<!-- A clear and concise description of what the bug is. -->

**Steps to Reproduce**
<!-- Steps to reproduce the behavior. -->
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->

**Additional context**
<!-- Add any other context about the problem here. -->
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/2-enhancement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: "\U0001F680 Enhancement"
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

<!-- Thank you for suggesting an idea to make things better. Please fill in as much of the template below as you can. -->

**Is your enhancement related to a problem? Please describe.**
<!-- Please describe the problem you are trying to solve. -->

**Describe the solution you'd like**
<!-- Please describe the desired behavior. -->

**Designs**
<!-- If applicable, add mockups/screenshots/etc. to help explain your solution. -->

**Describe alternatives you've considered**
<!-- Please describe alternative solutions or features you have considered. -->

**Additional context**
<!-- Add any other context about the enhancement here. -->
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/3-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: "❓ Need help?"
about: Ask us a question, we're here to help!
title: ''
labels: question
assignees: ''

---

<!-- If you have a question that is neither a bug report nor an enhancement, then please post it here! Please fill in as much of the template below as you can. -->

**Describe your question**
<!-- A clear and concise description of what your question is. -->
18 changes: 18 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy
on:
push:
tags:
- "*"
jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: WordPress Plugin Deploy
uses: milindmore22/action-wordpress-org-plugin-deploy@master
env:
EXCLUDE_LIST: .gitignore .distignore README.md phpcs.xml assets/package-lock.json
SLUG: youtubefancybox
WORDPRESS_PASSWORD: ${{ secrets.WORDPRESS_PASSWORD }}
WORDPRESS_USERNAME: ${{ secrets.WORDPRESS_USERNAME }}
ASSETS_DIR : screenshots
35 changes: 35 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# YouTube FancyBox

Contributors: milindmore22

A YouTube FancyBox uses fancy-box(light-box) to show YouTube video in a popup box on click of thumbnail which is generated from YouTube video.

Offical Wordpress Plugin Repo :
https://wordpress.org/plugins/youtubefancybox/
## Description

A Youtube Fancybox uses colorbox /lightbox (thanks to Jack Moore(http://www.jacklmoore.com/colorbox/) to show YouTube video in a popup box on click of thumbnail which is generated from
YouTube video. you can use it with shortcode in page, post and text widget.

## Example:
```sh
`[youtube videoid="<youtube videoid goes here>" height="<height goes here>" width="<width goes here>" ]`
`[youtube url="<youtube url goes here>"]`
```
in the backend you can genrated shorcodes also you can set default height, width and a option to play video automatically or not

## Installation

1. Upload `youtubefancybox` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Place shortcode like`[youtube videoid="<videoid goes here>"]` in your page, post , text widget

## FAQ
https://wordpress.org/plugins/youtubefancybox/faq/

## Screenshots
https://wordpress.org/plugins/youtubefancybox/screenshots/

## Upgrade notice

Tested upto 5.4.2
14 changes: 8 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: milindmore22
Tags: youtubefancybox, youtube, fancybox, popupvideo, lightbox, lightbox youtube
Requires at least: 3.6
Tested up to: 5.1
Stable tag: 2.4
Tested up to: 5.4.2
Stable tag: 2.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -59,6 +59,10 @@ Yes, you can add `[youtube url="<youtube video url here>"]`

== Changelog ==

= 2.5 =

Tested upto 5.4.2

= 2.4 =

Fixes warning.
Expand Down Expand Up @@ -109,7 +113,5 @@ First release. Compatible with IE9,IE10, Chrome, Firefox


== Upgrade notice ==
Updated to latest jquery colorbox.js
support ssl
fixed iphone ipad bugs
fixed shortcode inside shortcode bug, means you can place it inside other shortcodes

Tested upto 5.4.2
Binary file added screenshots/banner-772x250.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 screenshots/icon-128x128.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 screenshots/screenshot-1.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 screenshots/screenshot-2.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 screenshots/screenshot-3.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 screenshots/screenshot-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 81f48a4

Please sign in to comment.