Update wavey capes #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push To Main Continuous Deployment | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "config/**" | |
- "mods/**" | |
- "resourcepacks/**" | |
- "index.toml" | |
- "pack.toml" | |
jobs: | |
export_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Generate version | |
id: version | |
run: echo "date=$(date +'%Y-%m-%d-%H-%M')" >> $GITHUB_OUTPUT | |
- name: Export | |
run: | | |
docker run --rm -v $(pwd):/workspace dalbitresb12/packwiz modrinth export --output "winters-tweaks-${{ steps.version.outputs.date }}.mrpack" | |
- name: Deploy to GitHub | |
uses: Kir-Antipov/[email protected] | |
with: | |
github-tag: ${{ steps.version.outputs.date }} | |
github-generate-changelog: true | |
github-token: ${{ secrets.GH_TOKEN }} | |
name: ${{ steps.version.outputs.date }} | |
version: ${{ steps.version.outputs.date }} | |
files: "*.mrpack" | |
loaders: fabric | |
game-versions: ${{ vars.MC_VERSION }} | |
- name: Deploy to Modrinth | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: faNqEX4o | |
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | |
modrinth-unfeature-mode: any | |
name: ${{ steps.version.outputs.date }} | |
version: ${{ steps.version.outputs.date }} | |
files: "*.mrpack" | |
loaders: fabric | |
game-versions: ${{ vars.MC_VERSION }} | |
changelog: "Changelog: https://www.github.com/RWolfyo/winters-tweaks/releases/tag/${{ steps.version.outputs.date }}/" |