-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
101 changed files
with
626 additions
and
9,423 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 |
---|---|---|
@@ -1,31 +1,18 @@ | ||
name: Release | ||
on: | ||
workflow_dispatch: | ||
branch: | ||
branches: | ||
- main | ||
push: | ||
tags: | ||
- "*" | ||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Create zip | ||
run: | | ||
name=${{ github.event.repository.name }} | ||
git archive -o $name.zip --prefix=$name/ HEAD | ||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: ${{ github.event.repository.name }}.zip | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Notify Slack | ||
run: | | ||
tag=$(git describe --tags `git rev-list --tags --max-count=1`) | ||
name=${{ github.event.repository.name }} | ||
curl -X POST --data-urlencode "payload={\"channel\": \"#meta-box\", \"username\": \"Bot\", \"text\": \"New version $tag for $name has been just released!\", \"icon_emoji\": \":tada:\"}" ${{ secrets.SLACK_WEBHOOK }} | ||
call-workflow: | ||
uses: wpmetabox/meta-box/.github/workflows/extension.yml@master | ||
secrets: | ||
SSH_KEY: ${{ secrets.SSH_KEY }} | ||
SSH_KNOWN_HOSTS: ${{ secrets.SSH_KNOWN_HOSTS }} | ||
SSH_USERNAME: ${{ secrets.SSH_USERNAME }} | ||
SERVER_IP: ${{ secrets.SERVER_IP }} | ||
DOWNLOADS_DIR: ${{ secrets.DOWNLOADS_DIR }} | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,31 +1,21 @@ | ||
.rwmb-image-select { | ||
display: inline-block; | ||
width: 80px; | ||
height: 80px; | ||
float: left; | ||
margin: 0 8px 8px 0; | ||
margin: 0 10px 10px 0; | ||
border: 3px solid #d8d8d8; | ||
border-radius: 4px; | ||
border-radius: 3px; | ||
padding: 1px; | ||
cursor: pointer; | ||
|
||
--color: #2271b1; | ||
} | ||
|
||
.block-editor-page .rwmb-image-select { | ||
--color: var(--wp-admin-theme-color, #2271b1); | ||
} | ||
|
||
.rwmb-image-select img { | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
} | ||
|
||
.rwmb-image-select:hover, | ||
.rwmb-image-select:has(:checked) { | ||
border-color: var(--color); | ||
.rwmb-image-select.rwmb-active { | ||
border-color: #0074a2; | ||
} | ||
|
||
.rwmb-image_select.rwmb-image_select { | ||
display: none; | ||
} |
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
.rwmb-key_value-clone { | ||
display: flex; | ||
align-items: center; | ||
gap: 8px; | ||
} | ||
.rwmb-key_value-clone input { | ||
flex: 1; | ||
|
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
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
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
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
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
Oops, something went wrong.