Correct typos in Persian province names (#357) #45
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
name: Build and Deploy | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: # Makes it also possible to manually trigger deployment | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies and build | |
run: | | |
npm ci | |
npm run build | |
- name: Ensure code formatting | |
run: | | |
npm run check | |
- name: Create 404.html alias for index.html | |
run: | | |
ln -sr public/index.html public/404.html | |
- name: Prevent GitHub from building Jekyll artifacts when publishing gh-pages | |
run: | | |
touch public/.nojekyll | |
- name: Deploy /public to gh-pages branch | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: public |