Skip to content

Commit

Permalink
update workflow configuration in master.yml for improved performance
Browse files Browse the repository at this point in the history
  • Loading branch information
ipatate committed Sep 10, 2024
1 parent e3ccb55 commit abde573
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
jobs:
my-first-job:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4

- name: Use Node.js 20.x
uses: actions/setup-node@v2
with:
node-version: '20.17.0'

- name: 🔨 Build Project
run: |
npm install
npm run build
npm run favicon

- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_HOST }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.ftp_password }}
local-dir: ${{ secrets.FTP_PATH }}
exclude: |
**/.git*
**/.git*/**
**/node_modules/**
**/.pnpm-store/**

0 comments on commit abde573

Please sign in to comment.