Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
skrysmanski committed Dec 1, 2023
1 parent cf75b56 commit 1923af1
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,26 @@ jobs:
- name: Deploy site
uses: SamKirkland/[email protected]
with:
log-level: verbose
server: 'w00947c7.kasserver.com'
username: 'f016388c'
# See: https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions
server: ${{ secrets.ftp_server }}
username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }}
protocol: ftps # make it encrypted

# Use encrypted connection
protocol: ftps

log-level: verbose

local-dir: ./public/
server-dir: ./public_www/
state-name: ../sync-state.json

# NOTE: By default, "exclude" contains "node_modules". We have to remove this exclude rule because
# we use this to ship fontawesome. (We simply leave this empty because there's nothing to exclude.)
# we use this to ship fontawesome.
# For default, see: https://github.com/marketplace/actions/ftp-deploy#exclude-files
exclude: ''
# NOTE: Unfortunately, you don't seem to be able to clear the exclude options because it then will simply
# use the default value again. So we keep some common sense value (even though we don't actually need to
# exclude anything).
exclude: |
**/.git*
**/.git*/**

0 comments on commit 1923af1

Please sign in to comment.