Add sitemap #20
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
name: π Deploy website | |
on: | |
push: | |
branches: | |
- main | |
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/ | |
username: ${{ secrets.USERNAME }} | |
password: ${{ secrets.PASSWORD }} |