refactor(workflow): migrate from gitea to forgejo
This commit is contained in:
parent
c71ef02381
commit
18f5369380
2 changed files with 6 additions and 6 deletions
|
@ -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 }}
|
|
@ -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"
|
Loading…
Add table
Reference in a new issue