Skip to content

Commit

Permalink
fix: deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier-brochard committed Oct 1, 2024
1 parent 988be1c commit 54c1c69
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,6 @@ on:
branches:
- main

# jobs:
# build:
# name: Build
# runs-on: ubuntu-latest
# permissions:
# contents: read
# steps:
# - uses: actions/checkout@v4

# - name: Build
# uses: ConsenSys/docs-gha/build@main
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build:
permissions:
Expand All @@ -42,3 +28,9 @@ jobs:

- name: Build
run: npm run build

- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: build_output/
11 changes: 7 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:
workflow_dispatch:

jobs:
# build:
# uses: ./.github/workflows/build.yml
build:
uses: ./.github/workflows/build.yml

release:
# needs: build
needs: build
name: Create Release
runs-on: ubuntu-latest
permissions:
Expand All @@ -22,7 +22,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: ./.github/workflows/build.yml
- name: Download build artifacts
uses: actions/download-artifact@v3
with:
name: build-artifacts

# - name: Release
# uses: Consensys/docs-gha/release@main
Expand Down

0 comments on commit 54c1c69

Please sign in to comment.