1
0
Fork 0

migrate from github to forgejo

This commit is contained in:
Kim, Jimin 2025-06-03 14:27:48 +09:00
parent 2b6cece2fb
commit bb2763ede6
Signed by: pomp
GPG key ID: D3932F82A0667A3B
3 changed files with 2 additions and 72 deletions

View file

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Before After
Before After

View file

@ -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

View file

@ -1,12 +1,10 @@
# osu-pomp-skin
[![license](https://img.shields.io/github/license/developomp/osu-pomp-skin?style=for-the-badge&color=yellow)](./LICENSE)
[![code style: black](https://img.shields.io/badge/black-black?style=for-the-badge&label=code%20style)](https://github.com/psf/black)
[![download skin](https://img.shields.io/badge/download_skin-gray?style=for-the-badge)](https://developomp.github.io/osu-pomp-skin)
[![download skin](https://img.shields.io/badge/download_skin-gray?style=for-the-badge)](https://osu-skin.pompy.dev)
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).
![screenshot](./.github/img/screenshot.avif)
![screenshot](./.forgejo/img/screenshot.avif)
## Characteristics