Add to zurg 1000
This commit is contained in:
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
@@ -91,3 +91,33 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||||
with:
|
with:
|
||||||
artifacts: "compressed_artifacts/*.zip"
|
artifacts: "compressed_artifacts/*.zip"
|
||||||
|
makeLatest: true
|
||||||
|
removeArtifacts: true
|
||||||
|
replacesArtifacts: true
|
||||||
|
skipIfReleaseExists: true
|
||||||
|
|
||||||
|
- name: Setup git
|
||||||
|
run: |
|
||||||
|
git config --global user.name "Zurg"
|
||||||
|
git config --global user.email "zurg@debridmediamanager.com"
|
||||||
|
|
||||||
|
- name: Clone target repository
|
||||||
|
run: |
|
||||||
|
git clone https://$PAT@github.com/debridmediamanager/zurg-1000.git
|
||||||
|
cd zurg-1000
|
||||||
|
git lfs install
|
||||||
|
|
||||||
|
- name: Copy artifacts to target repository
|
||||||
|
run: |
|
||||||
|
mkdir -p zurg-1000/releases/${{ steps.version.outputs.version }}
|
||||||
|
cp compressed_artifacts/* zurg-1000/releases/${{ steps.version.outputs.version }}
|
||||||
|
|
||||||
|
- name: Commit and push artifacts to target repository
|
||||||
|
run: |
|
||||||
|
cd zurg-1000/releases/${{ steps.version.outputs.version }}
|
||||||
|
git lfs track "*.zip"
|
||||||
|
git add .
|
||||||
|
git commit -m "Release ${{ steps.version.outputs.version }}"
|
||||||
|
git push
|
||||||
|
env:
|
||||||
|
PAT: ${{ secrets.PAT }}
|
||||||
|
|||||||
Reference in New Issue
Block a user