Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
itsumura-h committed Sep 30, 2023
1 parent 1b0830c commit dc9332d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
name: Deploy GitHub Pages dependencies preinstalled

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

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -49,9 +49,16 @@ jobs:
palladian_cli install
palladian_cli build -b="https://itsumura-h.github.io/nim-palladian"
cp 404.html dist/
- name: check generated files
run: |
pwd
cd examples/document
ls -laR dist/
cat dist/index.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
run: pwd
with:
path: examples/document/dist/

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jekll-gh-pages.yml.bk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Deploy Jekyll with GitHub Pages dependencies preinstalled
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
branches: [$default-branch]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down

0 comments on commit dc9332d

Please sign in to comment.