feat(readme): add hafta-5 #17
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: Deploy gnu/linux doc. to pages | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Deploy ... | |
runs-on: ubuntu-latest | |
steps: | |
- name: git-checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js Env. | |
uses: actions/[email protected] | |
- name: Node version | |
run: node -v | |
- name: List file | |
run: ls | |
- name: Install dependencies | |
run: npm install | |
- name: Build the next.js app | |
run: npm run build | |
- run: touch ./out/.nojekyll | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: out | |