From 329befbe008a9eefc61ee7acbb1fe837f39d9a84 Mon Sep 17 00:00:00 2001 From: PunGrumpy <108584943+PunGrumpy@users.noreply.github.com> Date: Thu, 7 Dec 2023 08:24:19 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20ci(github-actions):=20add=20gite?= =?UTF-8?q?a=20workflows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gitea.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/gitea.yml diff --git a/.github/workflows/gitea.yml b/.github/workflows/gitea.yml new file mode 100644 index 0000000..c9bd223 --- /dev/null +++ b/.github/workflows/gitea.yml @@ -0,0 +1,19 @@ +name: 🍵 Gitea +on: + push: + branches: + - 'Year*-*' +jobs: + commit: + name: 🫖 Commit to Gitea + runs-on: ubuntu-latest + steps: + - name: 📥 Checkout + uses: actions/checkout@v4 + - name: 📝 Commit + id: commit + run: | + git config --global user.name 'PunGrumpy' + git config --global user.email ${{ secrets.EMAIL_GITEA }} + git remote add gitea https://gitea.com/Mephisto/KMITL.git + git push gitea HEAD:${{ github.ref }}