Merge pull request #6 from ASRG/claude/intelligent-leakey #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to SiteGround | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Remove non-deploy files | |
| run: | | |
| rm -rf .git .github .claude .gitignore debug.html | |
| find . -name '*.md' -delete | |
| - name: Deploy via FTPS | |
| uses: SamKirkland/FTP-Deploy-Action@v4.3.5 | |
| with: | |
| server: ${{ secrets.SITEGROUND_HOST }} | |
| username: ${{ secrets.SITEGROUND_FTP_USER }} | |
| password: ${{ secrets.SITEGROUND_FTP_PASSWORD }} | |
| protocol: ftps | |
| server-dir: ${{ secrets.SITEGROUND_REMOTE_PATH }} |