Fix image URL #4
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: | |
push: | |
branches: | |
- main | |
name: π Deploy website | |
jobs: | |
deploy: | |
name: π Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/checkout@v3 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: β¬οΈ Install dependencies | |
run: npm install | |
- name: π¦ Build project | |
run: npm run build | |
- name: π Sync files | |
uses: SamKirkland/[email protected] | |
with: | |
server: ftp.netim.hosting | |
local-dir: ./dist/ | |
server-dir: ./public_www/ | |
dangerous-clean-slate: true | |
username: ${{ secrets.USERNAME }} | |
password: ${{ secrets.PASSWORD }} |