Skip to content

Commit

Permalink
Update buildcnd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NOCanoa committed Aug 28, 2024
1 parent 875ef7d commit 2f3449f
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/buildcnd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,32 @@ jobs:
storagePassword: "${{ secrets.STORAGE_PASSWORD }}"
upload: "true"
remove: "false"
purgePullZone: "false"
purgePullZone: "false"

build2:
name: Build2
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'

- name: Install dependencies
run: npm install

- name: Build project
run: npm run build

- name: Deploy to FTP
uses: SamKirkland/FTP-Deploy-Action@4.3.0
with:
server: ftp://storage.bunnycdn.com
username: ${{ secrets.STORAGE_NAME }}
password: ${{ secrets.STORAGE_PASSWORD }}
local-dir: ./dist
server-dir: /www

0 comments on commit 2f3449f

Please sign in to comment.