Skip to content

Commit

Permalink
Merge pull request #340 from digipolisantwerp/bugfix/gh-pages
Browse files Browse the repository at this point in the history
Fixed Github workflows
  • Loading branch information
TriangleJuice authored Sep 19, 2024
2 parents d731f6c + 706511d commit 16fadf5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node 18.x
uses: actions/setup-node@v3
uses: actions/checkout@v4
- name: Use Node 20.x
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: 20
- name: Install dependencies & build component library
run: npm ci
- name: Run linter
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node 18.x
uses: actions/setup-node@v3
uses: actions/checkout@v4
- name: Use Node 20.x
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: 20
- name: Install dependencies & build component library
run: npm ci
- name: Build documentation
run: npm run build:prod
- name: Archive build
if: success()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
Expand All @@ -30,13 +30,13 @@ jobs:
needs: build
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Download build
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: dist
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
Expand Down

0 comments on commit 16fadf5

Please sign in to comment.