Skip to content

Commit

Permalink
gha
Browse files Browse the repository at this point in the history
  • Loading branch information
tesar-tech committed Nov 23, 2023
1 parent de4f9c8 commit 572bd05
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publis-zodoc-to-gh-pages.yml
Expand Up @@ -52,12 +52,11 @@ jobs:
- name: Deploy to netlify-deploy branch
# if: github.ref == 'refs/heads/master'
run: |
git checkout -b ${{ env.NETLIFY_DEPLOY_BRANCH }}
git checkout --orphan ${{ env.NETLIFY_DEPLOY_BRANCH }}
git rm -rf .
cp -r ${{ env.WEBAPP_PATH }}/output/* .
git add .
git commit -m "Deploying to ${{ env.NETLIFY_DEPLOY_BRANCH }} branch"
git commit -m "deploy from github actions"
git push origin ${{ env.NETLIFY_DEPLOY_BRANCH }} --force
env:

NETLIFY_DEPLOY_BRANCH: netlify-deploy

0 comments on commit 572bd05

Please sign in to comment.