refactor(app): add guard to profile page + back to home on the logo #103
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: | |
- master | |
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.js 20 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20.11.1' | |
- name: 🔨 Build Project | |
run: | | |
yarn install | |
yarn run build | |
- name: 📂 Sync files | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ vars.FTP_HOST }} | |
username: ${{ vars.FTP_USER }} | |
password: ${{ secrets.RETROSKI_PASSWORD }} | |
local-dir: ./dist/ | |
server-dir: ./ |