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 }}