Skip to content

Commit

Permalink
use plain github deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed May 25, 2024
1 parent 7b9ce83 commit 75ce74c
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,34 @@ on:
- website/**
- .github/workflows/website.yaml

env:
GIT_USER: javierluraschi

jobs:
deploy:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: 20
cache: yarn
- run: yarn
working-directory: website
- run: yarn docusaurus deploy
- run: yarn build
working-directory: website
- name: Upload
uses: actions/upload-pages-artifact@v3
with:
path: website/build
deploy:
name: Deploy to GitHub Pages
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 75ce74c

Please sign in to comment.