migrate from github to forgejo
This commit is contained in:
parent
2b6cece2fb
commit
bb2763ede6
3 changed files with 2 additions and 72 deletions
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
68
.github/workflows/release.yml
vendored
68
.github/workflows/release.yml
vendored
|
@ -1,68 +0,0 @@
|
||||||
name: Release
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
|
||||||
- .vscode/**
|
|
||||||
- README.md
|
|
||||||
- LICENSE
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
if: ${{ github.repository_owner == 'developomp' }} # prevents workflow from running in forked repos
|
|
||||||
name: Build skin
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repo
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: "3.10"
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pip install -r requirements.txt
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: python ./src
|
|
||||||
|
|
||||||
- name: Archive Artifact
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: skin
|
|
||||||
path: POMP.osk
|
|
||||||
|
|
||||||
release:
|
|
||||||
if: ${{ github.repository_owner == 'developomp' }} # prevents workflow from running in forked repos
|
|
||||||
name: Release
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: build
|
|
||||||
steps:
|
|
||||||
- name: Checkout gh-pages
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
ref: gh-pages
|
|
||||||
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
|
|
||||||
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
|
|
||||||
|
|
||||||
- name: Download Artifact
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: skin
|
|
||||||
|
|
||||||
- name: Commit files
|
|
||||||
run: |
|
|
||||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
||||||
git config --local user.name "github-actions[bot]"
|
|
||||||
git add POMP.osk
|
|
||||||
git commit -m "auto deploy from workflow"
|
|
||||||
|
|
||||||
- name: Push changes
|
|
||||||
uses: ad-m/github-push-action@master
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
branch: gh-pages
|
|
|
@ -1,12 +1,10 @@
|
||||||
# osu-pomp-skin
|
# osu-pomp-skin
|
||||||
|
|
||||||
[](./LICENSE)
|
[](https://osu-skin.pompy.dev)
|
||||||
[](https://github.com/psf/black)
|
|
||||||
[](https://developomp.github.io/osu-pomp-skin)
|
|
||||||
|
|
||||||
My custom skin for the game [osu! (lazer)](https://github.com/ppy/osu) based on [vaxei's skin (blue, instant-fade)](https://drive.google.com/file/d/16YhU5yI4rgHFoK8PzBeFGDQoywWua417/view).
|
My custom skin for the game [osu! (lazer)](https://github.com/ppy/osu) based on [vaxei's skin (blue, instant-fade)](https://drive.google.com/file/d/16YhU5yI4rgHFoK8PzBeFGDQoywWua417/view).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Characteristics
|
## Characteristics
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue