-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a9bf6e9
Showing
156 changed files
with
15,578 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Generate WordPress Archive | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
generate-archive: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Generating zip | ||
uses: rudlinkon/action-wordpress-build-zip@master | ||
with: | ||
retention-days: 7 # Optional; defaults to 3 - Configuring a custom artifact retention period | ||
# install-composer: true # Optional; defaults to false - Composer dependencies will be installed if you enable this option | ||
# npm-run-build: true # Optional; defaults to false - Set you custom node version | ||
# node-version: 20 # Optional; defaults to 16 - npm run build will be run if you enable this option |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: WordPress version checker | ||
|
||
on: | ||
push | ||
pull_request | ||
schedule: | ||
- cron: '0 0 * * 1' | ||
|
||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
wordpress-version-checker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: WordPress version checker | ||
uses: skaut/wordpress-version-checker@master | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Deploy with SFTP | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
deploy_job: | ||
runs-on: ubuntu-latest | ||
name: deploy | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: deploy file | ||
uses: wlixcc/SFTP-Deploy-Action@v1.0 | ||
with: | ||
username: ${{ secrets.FTP_USERNAME }} | ||
server: ${{ secrets.FTP_SERVER }} | ||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
local_path: 'wp-content' | ||
remote_path: '/home/peekaboo/wordpress.kr/public_html/wp-content/themes' | ||
args: '-P 20' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: WPCS check | ||
|
||
on: [push] | ||
|
||
jobs: | ||
phpcs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: WPCS check | ||
uses: 10up/wpcs-action@stable | ||
with: | ||
enable_warnings: false # Enable checking for warnings (-w) | ||
paths: './wp-content' # Paths to check, space separated | ||
# excludes: '' # Paths to excludes, space separated | ||
standard: 'WordPress' # Standard to use. Accepts WordPress|WordPress-Core|WordPress-Docs|WordPress-Extra|WordPress-VIP-Go|WordPressVIPMinimum|10up-Default. | ||
# standard_repo: '' # Public (git) repository URL of the coding standard | ||
# repo_branch: 'master' # Branch of Standard repository | ||
# phpcs_bin_path: 'phpcs' # Custom PHPCS bin path | ||
# use_local_config: 'false' # Use local config if available | ||
# extra_args: '' # Extra arguments passing to the command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
# BEGIN WordPress | ||
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are | ||
# dynamically generated, and should only be modified via WordPress filters. | ||
# Any changes to the directives between these markers will be overwritten. | ||
<IfModule mod_rewrite.c> | ||
RewriteEngine On | ||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | ||
RewriteBase / | ||
RewriteRule ^index\.php$ - [L] | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteRule . /index.php [L] | ||
</IfModule> | ||
|
||
# END WordPress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"channel": "stable" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* `local-xdebuginfo.php` is used by LocalWP you can remove it if you opt for other development environments. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php xdebug_info(); |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Only allow direct access to specific Web-available files. | ||
|
||
# Apache 2.2 | ||
<IfModule !mod_authz_core.c> | ||
Order Deny,Allow | ||
Deny from all | ||
</IfModule> | ||
|
||
# Apache 2.4 | ||
<IfModule mod_authz_core.c> | ||
Require all denied | ||
</IfModule> | ||
|
||
# Akismet CSS and JS | ||
<FilesMatch "^(form\.js|akismet(-frontend|-admin)?\.js|akismet(-admin)?(-rtl)?\.css|inter\.css)$"> | ||
<IfModule !mod_authz_core.c> | ||
Allow from all | ||
</IfModule> | ||
|
||
<IfModule mod_authz_core.c> | ||
Require all granted | ||
</IfModule> | ||
</FilesMatch> | ||
|
||
# Akismet images | ||
<FilesMatch "^(logo-(a|full)-2x\.png|akismet-refresh-logo\.svg|akismet-refresh-logo@2x\.png|arrow-left\.svg|icon-external\.svg)$"> | ||
<IfModule !mod_authz_core.c> | ||
Allow from all | ||
</IfModule> | ||
|
||
<IfModule mod_authz_core.c> | ||
Require all granted | ||
</IfModule> | ||
</FilesMatch> |
Oops, something went wrong.