From 4109442782c0562a69300787e5f7d860df6d6ce5 Mon Sep 17 00:00:00 2001 From: thefourCraft Date: Wed, 1 May 2024 13:51:59 +0300 Subject: [PATCH] Update Node.js version and build process in changelog-website.yml workflow --- .github/workflows/changelog-website.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/changelog-website.yml b/.github/workflows/changelog-website.yml index 8786ebe..66cec58 100644 --- a/.github/workflows/changelog-website.yml +++ b/.github/workflows/changelog-website.yml @@ -22,34 +22,32 @@ jobs: sha: ${{ steps.checkout.outputs.commit_sha }} steps: - name: Checkout - id: checkout uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: "20" - name: Install dependencies - run: | - cd src - npm install + run: npm install + working-directory: src - name: Build Docusaurus - run: | - cd src - npm run build + run: npm run build + working-directory: src + deploy: needs: install name: 🚀 Deploy - environment: - name: Workway Updates - url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - name: Setup Pages uses: actions/configure-pages@v5 - - name: Upload artifact uses: actions/upload-pages-artifact@v3 - + with: + path: src - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 + environment: + name: Workway Updates + url: ${{ steps.deployment.outputs.page_url }}