Refactor LanguageSwitcher component to use DropdownLink; comment out … #10
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 on The server | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🚚 Get latest code | |
uses: actions/checkout@v4 | |
- name: Install PHP and Composer | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
tools: 'composer' | |
# - name: Composer install | |
# run: composer install | |
- name: NPM install | |
run: npm install && npm run build | |
- name: 📂 Sync files | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.SERVER }} | |
username: ${{ secrets.USERNAME }} | |
password: ${{ secrets.PASSWORD }} | |
protocol: ftp | |
port: 21 |