Skip to content

Commit

Permalink
Replaced FTP with API action
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-pinheiro committed Mar 21, 2024
1 parent 17f1ed5 commit 264744c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/deploy-to-nekoweb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Deploy to Nekoweb
on:
push:
branches:
- main
- dev

jobs:
build:
Expand Down Expand Up @@ -42,12 +42,12 @@ jobs:
name: build
path: ./build

- name: FTP Deploy
uses: SamKirkland/FTP-Deploy-Action@4.0.0
- name: Deploy to Nekoweb
uses: mp-pinheiro/nekoweb-deploy@0.2.2
with:
server: ${{ secrets.FTP_SERVER }}
port: ${{ secrets.FTP_PORT }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
server-dir: /
local-dir: ./build/
API_KEY: ${{ secrets.NEKOWEB_API_KEY }}
BUILD_DIR: './build'
DEPLOY_DIR: '/'
CLEANUP: 'False'
NEKOWEB_PAGENAME: 'fairfruit'
ENCRYPTION_KEY: ${{ secrets.NEKOWEB_ENCRYPTION_KEY }}

0 comments on commit 264744c

Please sign in to comment.