Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jish2 committed Nov 17, 2023
1 parent 3bf2213 commit ec3c385
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/deploy-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,36 +33,3 @@ jobs:
# It specifies the temporary branch which hosts the static website.
# Each build will OVERWRITE this branch.
target-branch: prod

name: Giithub pages overwrite

on:
push:
branches:
# NOTE: You may want to limit the trigger branch to be "main" or "master" etc.
- "prod"

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3

- name: Generate your content
run: echo "Optional placeholder. Put your project's static website generator command here."

- name: Publish current workdir (which contains generated content) to GitHub Pages
uses: rayluo/github-pages-overwriter@v1.3

with:
# Optional. Default value "." means the root directory of your project will be published.
# You can use whatever directory your project uses, for example "wwwroot".
# Such a directory does *not* have to already exist in your repo,
# it could be an output directory created dynamically by your static website builder.
source-directory: client/build

# Optional. Default value "gh-pages".
# It specifies the temporary branch which hosts the static website.
# Each build will OVERWRITE this branch.
target-branch: prod

0 comments on commit ec3c385

Please sign in to comment.