We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dce9fd commit 8d7103eCopy full SHA for 8d7103e
1 file changed
.github/workflows/DEPLOY.yml
@@ -24,8 +24,13 @@ jobs:
24
- name: Build project
25
run: npm run build
26
27
- - name: Deploy dist folder to GitHub Pages
28
- uses: peaceiris/actions-gh-pages@v3
+ - name: Upload via SCP
+ uses: appleboy/scp-action@v0.1.4
29
with:
30
- github_token: ${{secrets.DENEME_TOKEN}}
31
- publish_dir: ./dist
+ host: ${{ secrets.DEPLOY_HOST }}
+ username: ${{ secrets.DEPLOY_SSH_USER }}
32
+ password: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
33
+ port: ${{ secrets.DEPLOY_SSH_PORT}}
34
+ source: "dist/*"
35
+ target: "/public_html/"
36
+ rm: true
0 commit comments