Skip to content

Merge remote-tracking branch 'origin/master' #1024

Merge remote-tracking branch 'origin/master'

Merge remote-tracking branch 'origin/master' #1024

name: Publish Packages Metadata
on:
push:
branches: [ master ]
paths:
- 'metadata/*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Generate Packages Hash
id: generatehash
uses: luxtorpeda-dev/action-build-generate-sha1-hash@v3
with:
file: metadata/packagessniper_v2.json
- name: Generate Packages Hash 256
id: generatehash256
uses: luxtorpeda-dev/action-build-generate-sha256-hash@v3
with:
file: metadata/packagessniper_v2.json
- name: Write Packages Hash
uses: DamianReeves/[email protected]
with:
path: metadata/packagessniper_v2.hash
contents: ${{ steps.generatehash.outputs.hash }}
write-mode: overwrite
- name: Write Packages Hash 256
uses: DamianReeves/[email protected]
with:
path: metadata/packagessniper_v2.hash256
contents: ${{ steps.generatehash256.outputs.hash }}
write-mode: overwrite
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./metadata
keep_files: true
external_repository: luxtorpeda-dev/luxtorpeda-dev.github.io
publish_branch: master