Merge pull request #75 from wuletawwonte/dependabot/npm_and_yarn/pret… #28
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: 🚀 Build and Deploy Project | |
jobs: | |
web-deploy: | |
name: 🎉 Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🚚 Get latest code | |
uses: actions/checkout@v3 | |
- name: 🛠️ Build project | |
run: yarn install && yarn generate | |
- name: 📂 Sync files | |
uses: SamKirkland/[email protected] | |
with: | |
server: ftp.wuletawwonte.com | |
username: ${{ secrets.ftp_username }} | |
password: ${{ secrets.ftp_password }} | |
server-dir: public_html/ | |
local-dir: .output/public/ |