🐛 Fixed typo #3
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
# .github/actions/master.yml | |
name: 🚀 Deploy website on push | |
# Controls when the workflow will run | |
on: | |
push: | |
branches: | |
- main | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
web-deploy: | |
name: 🎉 Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🚚 Get latest code | |
uses: actions/checkout@v4 | |
- name: 🛠 Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: 🔨 Build Project | |
run: | | |
npm ci | |
npm run build | |
npm run generate |