Skip to content

Commit

Permalink
invoicingを参考に修正
Browse files Browse the repository at this point in the history
  • Loading branch information
taako-502 committed Apr 10, 2023
1 parent bd69795 commit 788cdbe
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
1 change: 1 addition & 0 deletions .disignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# A set of files you probably don't want in your WordPress.org distribution
# https://github.com/AyeCode/invoicing/blob/master/.distignore
/.wordpress-org
/.git
/.github
Expand Down
22 changes: 15 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# Directories
/.wordpress-org export-ignore
/.github export-ignore

# Files
/.gitattributes export-ignore
/.gitignore export-ignore
# Items to ignore when downloading release
# https://github.com/AyeCode/invoicing/blob/master/.gitattributes
.gitattributes export-ignore
.gitignore export-ignore
.scrutinizer.yml export-ignore
composer.json export-ignore
composer.lock export-ignore
CONTRIBUTING.md export-ignore
CODE_OF_CONDUCT.md export-ignore
phpunit.xml export-ignore
README.md export-ignore
/tests/ export-ignore
/.idea/ export-ignore
/.github/ export-ignore
/.wordpress-org/ export-ignore
15 changes: 5 additions & 10 deletions .github/workflows/svn-commit.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
# https://github.com/AyeCode/invoicing/blob/master/.github/workflows/wordpress.yml
name: Deploy to WordPress.org
on:
push:
tags:
- "*"
- "*"
jobs:
tag:
name: New tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- name: Git config
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"

- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@1.5.0
with:
generate-zip: false
uses: 10up/action-wordpress-plugin-deploy@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: custom-card-link

0 comments on commit 788cdbe

Please sign in to comment.