Skip to content

Commit

Permalink
feat(docs): correctly adds Writerside/dcs config
Browse files Browse the repository at this point in the history
  • Loading branch information
csantiago132 committed Sep 29, 2024
1 parent c5ad160 commit 30da585
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
docker-version: ${{ env.DOCKER_VERSION }}

- name: List files after build
run: ls -R # List all the files to ensure artifact is generated
run: ls -R

- name: Save Writerside artifact with build results
uses: actions/upload-artifact@v4
Expand All @@ -47,7 +47,7 @@ jobs:
path: |
artifacts/${{ env.ARTIFACT }} # Artifact saved inside artifacts folder
artifacts/report.json # Optional: any reports generated
retention-days: 7 # Keep artifacts for 7 days
retention-days: 7

- name: Unzip and list Writerside artifact
run: |
Expand All @@ -57,12 +57,12 @@ jobs:
- name: Configure GitHub Pages
uses: actions/configure-pages@v4
with:
enablement: true # Enable GitHub Pages if not already enabled
enablement: true

- name: Upload Writerside content to GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
path: dir # Upload the unzipped directory content
path: dir

- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"license": "MPL-2.0",
"exports": {
"./gh-docs-actions": "./.github/workflows/deploy_docs.yml",
"./commitlint": "./src/commitlint/index.js",
"./semantic-release": "./src/semantic-release/index.js",
"./eslint/base": "./src/eslint/eslint.base.js",
Expand Down

0 comments on commit 30da585

Please sign in to comment.