Skip to content

Commit

Permalink
feat: modify action
Browse files Browse the repository at this point in the history
  • Loading branch information
A11Might committed Jan 27, 2024
1 parent 84fe343 commit 93b4aae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
uses: crazy-max/ghaction-github-pages@v3.1.0
with:
target_branch: output
build_dir: dist
build_dir: dist static
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func main() {
fmt.Println(err.Error())
return
}
filename := "dist/example.md"
filename := "dist/README.md"
_ = os.MkdirAll(filepath.Dir(filename), 0o755)
f, err := os.OpenFile(filename, os.O_CREATE|os.O_WRONLY, 0o666)
if err != nil {
Expand Down

0 comments on commit 93b4aae

Please sign in to comment.