Skip to content

Commit

Permalink
Update github workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Philzen committed Apr 26, 2024
1 parent ff685c4 commit 5853dbc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-and-deploy-ftp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: 🛎 Check out master
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 1
# Use GitHub Actions' cache to shorten build times and decrease load on servers
Expand All @@ -39,10 +39,10 @@ jobs:
- name: 🔨 Build site
run: bundle exec jekyll build --config _config.yml,_config_production.yml
- name: 🚀 Deploy
uses: SamKirkland/FTP-Deploy-Action@2.0.0
env:
FTP_SERVER: ${{secrets.FTP_SERVER}}
FTP_USERNAME: ${{secrets.FTP_USERNAME}}
FTP_PASSWORD: ${{secrets.FTP_PASSWORD}}
LOCAL_DIR: _site
ARGS: --delete --parallel=4
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
with:
server: ${{secrets.FTP_SERVER}}
username: ${{secrets.FTP_USERNAME}}
password: ${{secrets.FTP_PASSWORD}}
protocol: ftps
local-dir: ./_site/

0 comments on commit 5853dbc

Please sign in to comment.