Also push builds to https://github.com/Vencord/builds (#344)
Co-authored-by: Ven <vendicated@riseup.net>
This commit is contained in:
parent
d806be1346
commit
73b7f11d7a
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
@ -55,10 +55,29 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "release_tag=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
echo "release_tag=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Upload Devbuild
|
- name: Upload Devbuild as release
|
||||||
run: |
|
run: |
|
||||||
gh release upload devbuild --clobber dist/*
|
gh release upload devbuild --clobber dist/*
|
||||||
gh release edit devbuild --title "DevBuild $RELEASE_TAG"
|
gh release edit devbuild --title "DevBuild $RELEASE_TAG"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
RELEASE_TAG: ${{ env.release_tag }}
|
RELEASE_TAG: ${{ env.release_tag }}
|
||||||
|
|
||||||
|
- name: Upload Devbuild to builds repo
|
||||||
|
run: |
|
||||||
|
git config --global user.name "$USERNAME"
|
||||||
|
git config --global user.email actions@github.com
|
||||||
|
|
||||||
|
gh repo clone "$GH_REPO" upload
|
||||||
|
cd upload
|
||||||
|
rm -rf * .*
|
||||||
|
cp -r ../dist/* .
|
||||||
|
|
||||||
|
git add -A
|
||||||
|
git commit -m "Builds for https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA"
|
||||||
|
git push --force https://$USERNAME:$API_TOKEN@github.com/$GH_REPO.git main
|
||||||
|
env:
|
||||||
|
API_TOKEN: ${{ secrets.BUILDS_TOKEN }}
|
||||||
|
GLOBIGNORE: .git:.gitignore:README.md:LICENSE
|
||||||
|
GH_REPO: Vencord/builds
|
||||||
|
USERNAME: GitHub-Actions
|
||||||
|
@ -23,7 +23,7 @@ If you're a power user who wants to contribute and make plugins or just want to
|
|||||||
|
|
||||||
Or install the browser extension for
|
Or install the browser extension for
|
||||||
- [![Chrome](https://img.shields.io/badge/chrome-ext-brightgreen)](https://github.com/Vendicated/Vencord/releases/latest/download/Vencord-for-Chrome-and-Edge.zip)
|
- [![Chrome](https://img.shields.io/badge/chrome-ext-brightgreen)](https://github.com/Vendicated/Vencord/releases/latest/download/Vencord-for-Chrome-and-Edge.zip)
|
||||||
- [UserScript](https://github.com/Vendicated/Vencord/releases/download/devbuild/Vencord.user.js) - Please note that QuickCSS, shiki and other plugins making use of external resources will not work with the UserScript.
|
- [UserScript](https://raw.githubusercontent.com/Vencord/builds/main/Vencord.user.js) - Please note that QuickCSS, shiki and other plugins making use of external resources will not work with the UserScript.
|
||||||
|
|
||||||
|
|
||||||
You may also build them from source, to do that do the same steps as in the manual regular install method,
|
You may also build them from source, to do that do the same steps as in the manual regular install method,
|
||||||
|
Loading…
Reference in New Issue
Block a user