Skip to content

Commit

Permalink
Fix deployment path of github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ikarenkov committed Oct 23, 2024
1 parent 3c0a848 commit ce7dfb4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Deploy Writerside + CodeLabs

on:
push:
branches: ["dev"]
branches: [ "dev" ]
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -91,6 +91,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Requires build job results
needs: build
runs-on: ubuntu-latest

Expand All @@ -113,11 +114,11 @@ jobs:
- name: Setup Pages
uses: actions/[email protected]

# Upload to GitHub Pages
- name: Upload artifact
# Upload the CONTENTS of the 'dir' folder to GitHub Pages ROOT
- name: Upload to GitHub Pages
uses: actions/[email protected]
with:
path: dir
path: dir/** # This uploads all the contents of 'dir/' to the root

- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit ce7dfb4

Please sign in to comment.