Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
supuna97 authored Nov 6, 2023
1 parent 26554b5 commit 6fd5169
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
on:
push:
branches:
- main
name: Deploy website on push
push:
branches:
- main
name: πŸš€ Deploy website on push
jobs:
web-deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Get latest code
uses: Samkirkland/FTP-Deploy-Action@4.3.4
with:
server: www.traditionalme.life
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
server-dir: /supun/
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3

- name: πŸ“‚ Sync files
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: www.traditionalme.life
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
server-dir: /supun/

0 comments on commit 6fd5169

Please sign in to comment.