Update title tag #51
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 on push | |
jobs: | |
web-deploy: | |
name: π Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/checkout@v3 | |
- name: Use Node with nvm | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: π¨ Build Project | |
run: | | |
npm install | |
npm run clean | |
npm run build | |
- name: π Sync files | |
uses: SamKirkland/FTP-Deploy-Action@4.3.0 | |
with: | |
server: sl340.web.hostpoint.ch | |
username: ${{ secrets.FTP_USERNAME }} | |
password: ${{ secrets.FTP_PASSWORD }} | |
local-dir: ./dist/ | |
server-dir: /www/frameone.ch/ |