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 a04aa71Copy full SHA for a04aa71
1 file changed
.github/workflows/DEPLOY.yml
@@ -24,8 +24,12 @@ 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
+ key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
33
+ source: "dist/*"
34
+ target: "/home/${{ secrets.DEPLOY_SSH_USER }}/public_html/"
35
+ rm: true
0 commit comments