Skip to content

Push Beta Resourcepack #23

Push Beta Resourcepack

Push Beta Resourcepack #23

Workflow file for this run

name: Push Beta Resourcepack
on:
workflow_dispatch:
inputs:
debug:
description: 'Enable Debug log generate'
required: false
default: false
type: boolean
push:
branches:
- main
paths:
- Resourcepack/**
jobs:
ia-packer:
name: IA Packer
uses: ./.github/workflows/resuable_ia.yml
if: |
github.repository == 'xMikux/Slimefun-Resourcepack'
with:
DEBUG: ${{ inputs.debug || false }}
secrets:
RCON_PASSWORD: ${{ secrets.RCON_PASSWORD }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }}
res-packer:
name: Slimefun Packer
needs: ia-packer
uses: ./.github/workflows/resuable_packer.yml
yml-item_models:
name: Upload Item Models
uses: ./.github/workflows/resuable_item-models.yml
ia-cleaner:
name: Cleanup Artifact
needs: res-packer
runs-on: ubuntu-latest
steps:
-
name: Artifact - Delete It!
uses: geekyeggo/delete-artifact@v5
with:
name: |
ia-generatedpack
res-publish-modrinth:
name: Publish Modrinth Beta
needs: ia-cleaner
uses: ./.github/workflows/resuable_release_modrinth.yml
secrets:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}