Skip to content

Commit

Permalink
Merge pull request #87 from MizuiMiduki/Dev
Browse files Browse the repository at this point in the history
deploy
  • Loading branch information
MizuiMiduki authored Nov 2, 2024
2 parents 2777326 + 75d0d65 commit 2dd0414
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 22 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/auto-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
branches:
- main
name: 🚀 Deploy
jobs:
deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 🚚SetUp
run: echo "$SSH_PRIVATE_KEY" > key && chmod 600 key
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
- name: 📂 Sync files
uses: burnett01/[email protected]
with:
switches: -avz --delete
path: ./theme/
remote_path: ${{ secrets.REMOTE_PATH }}
remote_host: ${{ secrets.REMOTE_HOST }}
remote_user: ${{ secrets.REMOTE_USER }}
remote_port: ${{ secrets.REMOTE_PORT }}
remote_key: ${{ secrets.SSH_PRIVATE_KEY }}
22 changes: 0 additions & 22 deletions .github/workflows/main.yml

This file was deleted.

0 comments on commit 2dd0414

Please sign in to comment.