Skip to content

Commit

Permalink
Merge pull request #24 from tgilabs:workflow-works
Browse files Browse the repository at this point in the history
Update Node.js version and build process in changelog-website.yml workflow
  • Loading branch information
thefourcraft authored May 1, 2024
2 parents c66db33 + 4109442 commit cde1bce
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/changelog-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
uses: actions/deploy-pages@v4
environment:
name: Workway Updates
url: ${{ steps.deployment.outputs.page_url }}

0 comments on commit cde1bce

Please sign in to comment.