Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshnik committed Mar 27, 2024
1 parent d1bec33 commit 882b65e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on: push
name: πŸš€ Deploy website on push
jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, 'deploy')"
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3

- name: πŸ“‚ Sync files
uses: SamKirkland/[email protected]
with:
local-dir: './docs/.vitepress/dist/'
server-dir: './'
server: ${{ secrets.ftp_server }}
username: ${{ secrets.ftp_user }}
password: ${{ secrets.ftp_password }}
exclude: |
**/.git*
**/.git*/**
**/node_modules/**
.idea

0 comments on commit 882b65e

Please sign in to comment.