# name: "Zip Datapack" # on: # push: # branches: # - pipeline/auto-zip # # - master # jobs: # update: # runs-on: minecraft # steps: # - name: "grabbing new mods" # uses: actions/checkout@v4 # - name: "unzip mods" # shell: bash # run: | # zip -r hide_item_frame.zip pack.mcmeta data # # then copy this step to just push teh file # - name: "update readme with new mods" # shell: bash # run: | # git config user.name "${{ vars.WORKFLOW_USERNAME }}" # git config user.email "${{ vars.WORKFLOW_EMAIL }}" # git add hide_item_frame.zip # git commit -m "[ci] AutoBuild" # git push origin HEAD