Skip to content

Commit

Permalink
Atualizar o workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
NOCanoa authored Aug 29, 2024
1 parent a8aa708 commit e64d3ac
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/buildcdn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: DDeploy to BunnyCDN?

on: [push, workflow_dispatch]

jobs:
build:
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@v4.3.5
with:
server: storage.bunnycdn.com
username: ${{ secrets.STORAGE_NAME }}
password: ${{ secrets.STORAGE_PASSWORD }}
local-dir: ./dist/
server-dir: ../

0 comments on commit e64d3ac

Please sign in to comment.