Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying stuff out to fix the documentation deployement pipeline #703

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 5 additions & 19 deletions .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
branches: [main]

jobs:
build:
name: Build
build-deploy:
name: Build & Deploy
runs-on: ubuntu-latest
permissions:
actions: read
Expand All @@ -21,25 +21,11 @@ jobs:
uses: ./.github/actions/monkjs-set-up
- name: 📚 Building the documentation
run: yarn build:documentation
- name: 📃 Setting Up GitHub Pages
uses: actions/[email protected]
- name: 📦 Uploading the artifact
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-pages-artifact@v3.0.1
with:
name: build-documentation
path: documentation/build

deploy:
name: Deploy
needs:
- build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: 🌐 Deploying the documentation
uses: actions/[email protected]
with:
artifact_name: build-documentation