Skip to content

Commit

Permalink
💚 improve workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Graf committed Feb 15, 2024
1 parent 00cff8f commit eb8ad41
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
run: yarn build

- name: Deploy to Server
uses: easingthemes/ssh-deploy@v3
env:
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_SSH_KEY }}
SSH_CMD_ARGS: "-o StrictHostKeyChecking=no -o PubkeyAcceptedKeyTypes=ssh-rsa"
SOURCE: "dist/"
REMOTE_HOST: "ig7dp.ftp.infomaniak.com"
REMOTE_USER: "ig7dp_antistatique"
TARGET: "${{ env.DEPLOY_TARGET }}"
uses: burnett01/[email protected]
with:
switches: -avzr --delete
path: dist/
remote_path: ${{ env.DEPLOY_TARGET }}
remote_host: "ig7dp.ftp.infomaniak.com"
remote_user: "ig7dp_antistatique"
remote_key: ${{ secrets.PRIVATE_SSH_KEY }}
1 change: 1 addition & 0 deletions public/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ErrorDocument 404 /404.html

0 comments on commit eb8ad41

Please sign in to comment.