Make deploy workflow compatible with Gitea Action
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Deploy to Hostinger
|
||||
name: Deploy Website
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -13,16 +13,16 @@ jobs:
|
||||
- name: git-checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set Up Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
- name: Set Up Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
bun-version: latest
|
||||
node-version: latest
|
||||
|
||||
- name: Install all dependencies
|
||||
run: bun install
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
run: bun run build
|
||||
run: npm run build-action
|
||||
|
||||
- name: SSH Deploy to Hostinger
|
||||
uses: easingthemes/ssh-deploy@main
|
||||
@@ -9,7 +9,7 @@
|
||||
"scripts": {
|
||||
"start": "bunx eleventy --serve --quiet",
|
||||
"build": "bunx eleventy",
|
||||
"build-ghpages": "bunx eleventy"
|
||||
"build-action": "npx eleventy"
|
||||
},
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user