Created
December 10, 2023 13:15
-
-
Save kalilinux-png/7837814b1d5582a79bc4567414de6786 to your computer and use it in GitHub Desktop.
Github Actions FTP
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
on: push | |
name: Deploy To Production Server | |
jobs: | |
web-deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# uncommnet this if you want to build your site before deploying | |
- name: Sync Files | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.FTP_SERVER }} | |
username: ${{secrets.FTP_USERNAME }} | |
password: ${{secrets.FTP_PASSWORD }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment