Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
okfinee committed Oct 31, 2023
2 parents 7424b76 + b62ea42 commit 23a9cf3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Depoly html page to fast-fire server
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v4
- name: Deploy to Server
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.USER_SSH_KEY }}
ARGS: "-rlgoDzvc -i --delete"
SOURCE: "./"
REMOTE_HOST: ${{ secrets.USER_HOST }}
REMOTE_USER: ${{ secrets.USER_NAME }}
TARGET: "/home/${{ secrets.USER_NAME }}/pages/$GITHUB_REPOSITORY"

0 comments on commit 23a9cf3

Please sign in to comment.