diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index d30772f4..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,32 +0,0 @@ -version: 2 -updates: - # Fetch and update latest `npm` packages - - package-ecosystem: npm - directory: "/" - schedule: - interval: daily - time: "00:00" - open-pull-requests-limit: 10 - reviewers: - - terwer - assignees: - - terwer - commit-message: - prefix: fix - prefix-development: chore - include: scope - # Fetch and update latest `github-actions` pkgs - - package-ecosystem: github-actions - directory: "/" - schedule: - interval: daily - time: "00:00" - open-pull-requests-limit: 10 - reviewers: - - terwer - assignees: - - terwer - commit-message: - prefix: fix - prefix-development: chore - include: scope diff --git a/.github/semantic.yml b/.github/semantic.yml deleted file mode 100644 index 40b69276..00000000 --- a/.github/semantic.yml +++ /dev/null @@ -1,5 +0,0 @@ -# Always validate the PR title AND all the commits -titleAndCommits: true -# Allows use of Merge commits (eg on github: "Merge branch 'master' into feature/ride-unicorns") -# this is only relevant when using commitsOnly: true (or titleAndCommits: true) -allowMergeCommits: true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 62d3f8a5..00000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: ci - -on: - push: - branches: - - main - - dev - pull_request: - branches: - - main - - dev - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version: 16 - - - uses: pnpm/action-setup@v2 - name: Install pnpm - id: pnpm-install - with: - version: 7 - run_install: false - - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - uses: actions/cache@v3 - name: Setup pnpm cache - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - - name: Install dependencies and build for production - run: pnpm install && pnpm new && pnpm run build diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml deleted file mode 100644 index 910c79ef..00000000 --- a/.github/workflows/release-please.yml +++ /dev/null @@ -1,37 +0,0 @@ -on: - push: - branches: - - main -name: release-please -jobs: - release-please: - runs-on: ubuntu-latest - steps: - # create release pr - - uses: google-github-actions/release-please-action@v3 - with: - release-type: node - package-name: release-please-action - changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false}]' - - run: echo "A release was created." - if: ${{ steps.release.outputs.releases_created }} - # For root level packages: ${{ steps.release.outputs.package-a--tag_name }} - - run: echo "Release ${{ steps.release.outputs['packages/package-a--tag_name'] }} created for package-a." - if: ${{ steps.release.outputs['packages/package-a--release_created'] }} - - # create tag - - uses: actions/checkout@v3 - - name: tag major and minor versions - if: ${{ steps.release.outputs.release_created }} - run: | - git config user.name github-actions[bot] - git config user.email 41898282+github-actions[bot]@users.noreply.github.com - git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git" - git tag -d v${{ steps.release.outputs.major }} || true - git tag -d v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true - git push origin :v${{ steps.release.outputs.major }} || true - git push origin :v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true - git tag -a v${{ steps.release.outputs.major }} -m "Release v${{ steps.release.outputs.major }}" - git tag -a v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} -m "Release v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}" - git push origin v${{ steps.release.outputs.major }} - git push origin v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} diff --git a/README.md b/README.md index 82d684d3..64ff3ef1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ # sy-post-publisher +⚠️特别提醒: + +> 由于集市大更新,现在已经 [支持挂件打包](https://github.com/siyuan-note/bazaar/issues/1095) ,所以已迁移此源码仓库到挂件仓库,避免维护带来的额外工作。 + +> [sy-post-publisher](https://github.com/terwer/sy-post-publisher) 将持续维护更新并发布新版本。此仓库将仅作为归档查看使用。 + +> 如需建议,请直接移步仓库 [sy-post-publisher](https://github.com/terwer/sy-post-publisher) 新建issue 。 + +> 0.8.0+ 以上的后续版本下载也请移步 [sy-post-publisher](https://github.com/terwer/sy-post-publisher) ,感谢支持! + ![](https://img1.terwer.space/api/public/202212181125714.png) 将 [思源笔记](https://github.com/siyuan-note/siyuan) 的文章发布到支持的平台的 **思源笔记挂件**