Skip to content

Commit

Permalink
chaged deploy.yml to lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
romantrukhtanov committed Oct 15, 2023
1 parent d915dbb commit 9f08e61
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/deploy.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: 🚀 Deploy
on:
push:
branches:
- production
name: 🚀 Lint
on: push
jobs:
Deploy-Action:
name: 🎉 Deploy
name: 🎉 Lint
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -37,17 +34,3 @@ jobs:
npm run lint
npm run ts
npm run test
- name: 🏗️ Build project
run: |
npm run build:prod
- name: 📂 Sync folders and files to the server
uses: SamKirkland/[email protected]
with:
protocol: ftps
local-dir: ./build/
dangerous-clean-slate: true
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}

0 comments on commit 9f08e61

Please sign in to comment.