Deploy Glyphr Studio App #7
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
on: | |
workflow_dispatch: | |
release: | |
types: [published] | |
name: Deploy Glyphr Studio App | |
jobs: | |
web-deploy: | |
name: 🚀 Deploy Website | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🚚 Get Latest Code | |
uses: actions/checkout@v3 | |
- name: 📂 Sync Files | |
uses: SamKirkland/[email protected] | |
with: | |
protocol: ftps | |
local-dir: ./dist/ | |
server: ${{ secrets.SSH_SERVER_NAME }} | |
#remote-user: ${{ secrets.SSH_USERNAME }} | |
username: ${{ secrets.SSH_USERNAME }} | |
#private-ssh-key: ${{ secrets.SSH_KEY }} | |
password: ${{ secrets.SSH_KEY }} | |
server-dir: ${{ secrets.APP_DIRECTORY }} | |
# rsync-options: --dry-run --archive --verbose --compress --delete-after --human-readable --exclude=.git* --exclude=.git/ --exclude=README.md --exclude=readme.md --exclude=.gitignore | |
dry-run: true |