chore: Updated build_push.yml

This commit is contained in:
Edgard Lorraine Messias 2024-06-24 14:10:06 -03:00 committed by GitHub
parent 8f0e646078
commit ce23a81969
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 23 deletions

View file

@ -29,7 +29,7 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: main
token: ${{ secrets.ANIYOMIORG_BOT_PAT }}
token: ${{ secrets.BOT_PAT }}
- name: Find lib changes
id: modified-libs
@ -40,14 +40,6 @@ jobs:
files_separator: " "
safe_output: false
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
# This step is going to commit, but this will not trigger another workflow.
- name: Bump extensions that uses a modified lib
if: steps.modified-libs.outputs.any_changed == 'true'
@ -159,19 +151,10 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
repository: almightyhak/aniyomi-anime-repo
token: ${{ secrets.ANIYOMIORG_BOT_PAT }}
token: ${{ secrets.BOT_PAT }}
ref: main
path: repo
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
workdir: repo
- name: Deploy repo
run: |
cd repo