forked from LTCatt/PCL2Help
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (36 loc) · 1.19 KB
/
pack.yml
File metadata and controls
41 lines (36 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Pack Help.zip
on:
push:
paths: '**/**'
workflow_dispatch:
jobs:
update-help:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Pack
run: |
rm -f * || true
rm -r .*
zip -r Help.zip ./
- uses: actions/checkout@v5
with:
repository: PCL-Community/PCL2-CE
token: ${{ secrets.UPDATE_PAT_TOKEN }}
path: PCL2-CE
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec
with:
gpg_private_key: ${{ secrets.UPDATE_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.UPDATE_GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
git_config_global: true
- name: Update Help.zip
run: |
cd PCL2-CE
cp ../Help.zip "Plain Craft Launcher 2/Resources"
git config user.name "PCL-Community-Bot"
git config user.email "167983016+PCL-Community-Bot@users.noreply.github.com"
git commit -S -a -m "chore: update Help.zip to PCL-Community/PCLCEHelp@${{ github.sha }}"
git push origin dev