-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf75b56
commit 1923af1
Showing
1 changed file
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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*/** |