refactor(workflow): migrate from gitea to forgejo

This commit is contained in:
z0x 2025-03-23 12:32:05 -04:00
parent c71ef02381
commit 18f5369380
2 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@ on:
jobs: jobs:
build-dist: build-dist:
runs-on: ubuntu-latest runs-on: docker
steps: steps:
- name: Checkout code - name: Checkout code
@ -24,7 +24,7 @@ jobs:
bun run build bun run build
- name: Deploy to server - name: Deploy to server
uses: appleboy/scp-action@master uses: https://github.com/appleboy/scp-action@master
with: with:
host: ${{ secrets.HOST }} host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
@ -32,4 +32,4 @@ jobs:
source: "dist/*" source: "dist/*"
target: ${{ secrets.TARGET }} target: ${{ secrets.TARGET }}
strip_components: 1 strip_components: 1
overwrite: true overwrite: true

View file

@ -6,7 +6,7 @@ on:
jobs: jobs:
update-deps: update-deps:
runs-on: ubuntu-latest runs-on: docker
steps: steps:
- name: Checkout code - name: Checkout code
@ -24,8 +24,8 @@ jobs:
- name: Commit updates - name: Commit updates
run: | run: |
git config user.name "gitea-actions[bot]" git config user.name "actions[bot]"
git config user.email "gitea-actions[bot]@git.z0x.ca" git config user.email "actions[bot]@git.z0x.ca"
git add . git add .
if git diff --staged --quiet; then if git diff --staged --quiet; then
echo "No updates avalable" echo "No updates avalable"