Update deploy.yml
This commit is contained in:
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@@ -22,11 +22,16 @@ jobs:
|
|||||||
node-version: '16'
|
node-version: '16'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: |
|
||||||
|
npm init -y
|
||||||
|
npm install js-yaml
|
||||||
|
|
||||||
- name: Generate site
|
- name: Generate site
|
||||||
run: node generator.js
|
run: node generator.js
|
||||||
|
|
||||||
|
- name: List files
|
||||||
|
run: ls -la
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user