Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AkekoChan committed Mar 22, 2024
1 parent b10bbff commit a913886
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
on:
on:
push:
branches:
- main
name: πŸš€ Deploy website on
name: πŸš€ Deploy website on push

jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get lastest code
- name: 🚚 Get latest code
uses: actions/checkout@v3

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

- name: πŸ”¨ Build FrontEnd
node-version: '20'
- name: πŸ”¨ Build Project
run: |
cd client
npm install
npm run build
- name: πŸ“ Sync File
- name: πŸ“‚ Sync files
uses: AkekoChan/flami-app
with:
server: ${{ secrets.GIT_CPANEL_SERVER }}
username: ${{ secrets.GIT_CPANEL_USER }}
password: ${{ secrets.GIT_CPANEL_PWD }}
protocol: ${{ secrets.GIT_CPANEL_PROTOCOL }}
local-dir: ./build/
local-dir: ./build/

0 comments on commit a913886

Please sign in to comment.