fix: removed npm step from github actions

This commit is contained in:
Felipe M 2022-01-01 17:44:30 +01:00
parent 9757926ef6
commit 8c8184a78f
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
1 changed files with 24 additions and 25 deletions

View File

@ -2,33 +2,32 @@ name: Build pages
on: on:
push: push:
branches: [ master ] branches: [master]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python 3.8 - name: Set up Python 3.8
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.8
- name: Setup Node.js environment - name: Setup Node.js environment
uses: actions/setup-node@v2.1.0 uses: actions/setup-node@v2.1.0
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade poetry python -m pip install --upgrade poetry
poetry install poetry install
npm install - name: Build
- name: Build run: make build
run: make build - name: GitHub Pages action
- name: GitHub Pages action uses: peaceiris/actions-gh-pages@v3.6.1
uses: peaceiris/actions-gh-pages@v3.6.1 with:
with: github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: gh-pages
publish_branch: gh-pages publish_dir: public
publish_dir: public force_orphan: true
force_orphan: true user_name: Felipe M.
user_name: Felipe M. user_email: me@fmartingr.com
user_email: me@fmartingr.com cname: fmartingr.com
cname: fmartingr.com