This repository has been archived by the owner on May 27, 2024. It is now read-only.
Merge branch 'main' of https://github.com/Woolyenough/forsaken-city-r… #83
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: Create Archive | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: pull latest and remove old file from repo | |
run: | | |
git config --global user.name "Woolyenough" | |
git config --global user.email "${{ secrets.EMAIL }}" | |
git config pull.rebase false | |
git pull | |
rm -f release.zip | |
- name: Archive Release | |
uses: thedoctor0/zip-release@master | |
with: | |
filename: 'resources.zip' | |
exclusions: '*.git*' | |
- name: push changes to remote | |
run: | | |
git add -A | |
git commit -m "[bot] automated resource pack zip" | |
git push --force |