-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trying stuff out to fix the documentation deployement pipeline (#702)
- Loading branch information
1 parent
930df99
commit 8e8c38a
Showing
5 changed files
with
28 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
|
||
jobs: | ||
build: | ||
if: false | ||
name: Build | ||
runs-on: ubuntu-latest | ||
permissions: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
|
||
jobs: | ||
build: | ||
if: false | ||
name: Build | ||
runs-on: ubuntu-latest | ||
permissions: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
|
||
jobs: | ||
checks: | ||
if: false | ||
name: Run Checks | ||
runs-on: ubuntu-latest | ||
permissions: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,8 @@ on: | |
branches: [main] | ||
|
||
jobs: | ||
deploy: | ||
name: Deploy | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
|
@@ -19,17 +19,27 @@ jobs: | |
uses: actions/checkout@v4 | ||
- name: ⚙️ Setting up the MonkJs project | ||
uses: ./.github/actions/monkjs-set-up | ||
- name: 🔐 Authenticating using Futura's secret SSH key | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.FUTURA_SECRET }} | ||
- name: 📚 Building the documentation | ||
run: yarn build:documentation | ||
- name: 📦 Uploading the artifact | ||
uses: actions/[email protected] | ||
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 | ||
env: | ||
USE_SSH: true | ||
GIT_USER: git | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Futura" | ||
yarn deploy:documentation | ||
uses: actions/[email protected] | ||
with: | ||
artifact_name: build-documentation |