From 8c8184a78f40cec8d79c79b19709fd22844a247a Mon Sep 17 00:00:00 2001 From: Felipe M Date: Sat, 1 Jan 2022 17:44:30 +0100 Subject: [PATCH] fix: removed npm step from github actions --- .github/workflows/deploy.yml | 49 ++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 545a57f..35f95b3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,33 +2,32 @@ name: Build pages on: push: - branches: [ master ] + branches: [master] jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Setup Node.js environment - uses: actions/setup-node@v2.1.0 - - name: Install dependencies - run: | - python -m pip install --upgrade poetry - poetry install - npm install - - name: Build - run: make build - - name: GitHub Pages action - uses: peaceiris/actions-gh-pages@v3.6.1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_branch: gh-pages - publish_dir: public - force_orphan: true - user_name: Felipe M. - user_email: me@fmartingr.com - cname: fmartingr.com \ No newline at end of file + - uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Setup Node.js environment + uses: actions/setup-node@v2.1.0 + - name: Install dependencies + run: | + python -m pip install --upgrade poetry + poetry install + - name: Build + run: make build + - name: GitHub Pages action + uses: peaceiris/actions-gh-pages@v3.6.1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: gh-pages + publish_dir: public + force_orphan: true + user_name: Felipe M. + user_email: me@fmartingr.com + cname: fmartingr.com