Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Delete resources.zip #90

Delete resources.zip

Delete resources.zip #90

Workflow file for this run

name: Zip and Push to Archive Branch
on:
push:
branches:
- main # Trigger on pushes to main branch
jobs:
zip-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0 # Ensure we get all the history
- name: Install zip
run: sudo apt-get install zip
- name: Zip the repository
run: zip -r release.zip . -x "*.git*"
- name: Checkout archive branch
uses: actions/checkout@v2
with:
ref: latest-release
path: latest-release
- name: Replace ZIP in archive branch
run: |
mv release.zip latest-release/
cd latest-release
git config user.name "FC Resources"
git config user.email "[email protected]"
git add release.zip
git commit -m "Update resoure pack ZIP"
git push