Skip to content

Commit

Permalink
bulp
Browse files Browse the repository at this point in the history
  • Loading branch information
tomap authored Jul 14, 2024
1 parent 8144647 commit 9591ba5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ on: [push]

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 20.x
node-version: 22.x
- run: npm i
- run: npx hexo g
- uses: actions/upload-artifact@master
with:
path: public
name: public
deploy-firebase:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 20.x
node-version: 22.x
- uses: actions/download-artifact@master
with:
name: public
Expand All @@ -36,7 +36,7 @@ jobs:
firebase deploy --token ${{ secrets.FIREBASE_TOKEN }}
deploy-ovh:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build
if: github.ref == 'refs/heads/master'
steps:
Expand All @@ -53,7 +53,7 @@ jobs:
find . -type f -exec curl --user xntprja:${{ secrets.FTP_PASSWORD }} --ftp-create-dirs -v -T {} ftp://ftp.cluster014.hosting.ovh.net:21/www/{} \;
deploy-github:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build
if: github.ref == 'refs/heads/master'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: node:20
image: node:22

pages:
script:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "tpi.eu",
"version": "1.0.3",
"version": "1.0.4",
"private": true,
"hexo": {
"version": "7.2.0"
"version": "7.3.0"
},
"dependencies": {
"hexo": "7.3.0",
Expand All @@ -25,7 +25,7 @@
"markdownlint": "^0.34.0"
},
"engines": {
"node": ">= 18"
"node": ">= 22"
},
"scripts": {
"build": "hexo g && cp assets/indexing-on.txt public/robots.txt && cp public/assets/404.html public/404.html",
Expand Down

0 comments on commit 9591ba5

Please sign in to comment.