Skip to content

Commit

Permalink
Testing?
Browse files Browse the repository at this point in the history
  • Loading branch information
devcshort committed Jun 8, 2024
1 parent d5a4045 commit 3d251e4
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

defaults:
run:
working-directory: ./docs

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
branches: ['main']

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -18,7 +22,7 @@ permissions:
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
group: 'pages'
cancel-in-progress: false

jobs:
Expand All @@ -34,14 +38,14 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install packages
run: cd docs && npm ci
run: npm ci
- name: Build Pages
run: cd docs && npm run build
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: './docs/build'
path: './build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 3d251e4

Please sign in to comment.