Skip to content

Commit

Permalink
feat: Update workflows (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluefissure authored May 9, 2023
1 parent 541f046 commit 0229acb
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 4 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pacnag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: PAC periodic notification

on:
workflow_dispatch:
schedule:
- cron: '0 19 * * *'

jobs:
runjob:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: reiichi001/PAC-Nag@a76ed0ac31a9528f5dc9bc4e591fc6aca85ecd4a
with:
token: ${{secrets.GITHUB_TOKEN}}
discord_webhook: ${{secrets.PAC_DISCORD_WEBHOOK}}
pacsheetslink: ${{secrets.PAC_SHEETS_LINK}}
4 changes: 2 additions & 2 deletions .github/workflows/pull_request_dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Cache docker image
uses: actions/cache@v3
env:
cache-name: plogon
cache-name: ${{ secrets.EXTENDED_IMAGE_LINK }}
with:
path: ~/.plogon_cache
key: cache-${{ env.cache-name }}
Expand All @@ -67,7 +67,7 @@ jobs:
id: plogon_run
working-directory: Plogon/Plogon
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_BOT_PAT }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
EXTENDED_IMAGE_LINK: ${{ secrets.EXTENDED_IMAGE_LINK }}
XLWEB_KEY: ${{ secrets.XLWEB_KEY }}
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Cache docker image
uses: actions/cache@v3
env:
cache-name: plogon
cache-name: ${{ secrets.EXTENDED_IMAGE_LINK }}
with:
path: ~/.plogon_cache
key: cache-${{ env.cache-name }}
Expand All @@ -52,6 +52,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
EXTENDED_IMAGE_LINK: ${{ secrets.EXTENDED_IMAGE_LINK }}
XLWEB_KEY: ${{ secrets.XLWEB_KEY }}
run: |
dotnet run -- \
--manifest-folder="${{ github.workspace }}/manifests" \
Expand Down Expand Up @@ -83,3 +84,9 @@ jobs:
directory: output
repository: ottercorp/PluginDistD17
ssh: true

- name: Signal XLWeb commit
run: |
curl --request POST \
--url https://kamori.goats.dev/Plogon/CommitStagedPlugins \
--header 'X-XL-Key: ${{ secrets.XLWEB_KEY }}'
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

### 提交

- 分叉此存储库,或使用 GitHub 网络编辑器(在存储库中按 `.`,或按现有清单上的 ✏ 图标)
- Fork 此存储库,或使用 GitHub 网络编辑器(在存储库中按 `.`,或按现有清单上的 ✏ 图标)
- 在你的 fork 中,制作 `stable/(plugin name)/manifest.toml`(或 `testing/live/(plugin name)/manifest.toml` - 请注意,我们更喜欢新插件进入 `testing/live`, 以便在向更广泛的受众传播之前解决皱纹问题)。 有关更多信息,[参见此处](https://github.com/goatcorp/DIPs/blob/main/text/17-automated-build-and-submit-pipeline.md#guide-level-explanation)
- 请注意,请确保您的用户名在 `owners` 中,即便您只是将插件进行了国服适配(例如下面的`owners = ["goaaats", "Bluefissure"]`)。

Expand Down Expand Up @@ -68,3 +68,4 @@
---

提交插件时,请考虑我们的 [可接受使用政策](<https://github.com/goatcorp/FFXIVQuickLauncher/wiki/Acceptable-Use-Policy-(Official-Plugin-Repository)>)[服务条款](<https://github.com/goatcorp/FFXIVQuickLauncher/wiki/Terms-and-Conditions-of-Use-(XIVLauncher,-Dalamud-&-Official-Plugin-Repository)>),例如详细说明将插件上传到此存储库时您需要授予我们的权利。
请查看 [插件收养政策](https://github.com/goatcorp/faq/blob/main/development.md#adoption) 以了解如果您放弃插件会发生什么。 常见问题解答还提供了有关在从其他开发人员接管时如何提交插件的说明。

0 comments on commit 0229acb

Please sign in to comment.