Skip to content

Commit

Permalink
Update deploy-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JolifantoBambla authored Apr 21, 2024
1 parent eb0ac12 commit ed0911b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ name: Deploy docs
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
tags:
- '*'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -37,6 +38,10 @@ jobs:
run: npm install
- name: Build Docs
run: npm run docs
- name: Publish dist folder with docs
run: |
mkdir -p docs/${{ github.ref_name }}
cp -r dist docs/${{ github.ref_name }}/dist
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
Expand Down

0 comments on commit ed0911b

Please sign in to comment.