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:
|
||||
build-dist:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
@ -24,7 +24,7 @@ jobs:
|
|||
bun run build
|
||||
|
||||
- name: Deploy to server
|
||||
uses: appleboy/scp-action@master
|
||||
uses: https://github.com/appleboy/scp-action@master
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
|
@ -32,4 +32,4 @@ jobs:
|
|||
source: "dist/*"
|
||||
target: ${{ secrets.TARGET }}
|
||||
strip_components: 1
|
||||
overwrite: true
|
||||
overwrite: true
|
|
@ -6,7 +6,7 @@ on:
|
|||
|
||||
jobs:
|
||||
update-deps:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
@ -24,8 +24,8 @@ jobs:
|
|||
|
||||
- name: Commit updates
|
||||
run: |
|
||||
git config user.name "gitea-actions[bot]"
|
||||
git config user.email "gitea-actions[bot]@git.z0x.ca"
|
||||
git config user.name "actions[bot]"
|
||||
git config user.email "actions[bot]@git.z0x.ca"
|
||||
git add .
|
||||
if git diff --staged --quiet; then
|
||||
echo "No updates avalable"
|
Loading…
Add table
Reference in a new issue