Skip to content

Commit e9f2f08

Browse files
authored
Disable commit dist step in deploy workflow
Comment out the commit dist to repository step in the deployment workflow.
1 parent 1496f29 commit e9f2f08

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/deploy-website.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@ jobs:
5353
# The artifact only becomes available after this workflow wraps up, so let's wrap.
5454
# This artifact enables the download of a pre-built package and hosting of one's own playground instance.
5555

56-
- name: Commit dist to repository
57-
shell: bash
58-
run: |
59-
git config --global user.name "github-actions[bot]"
60-
git config --global user.email "github-actions[bot]@users.noreply.github.com"
61-
git add dist
62-
if git diff --cached --quiet; then
63-
echo "No changes to commit"
64-
else
65-
git commit -m "Deploy website: Update dist directory"
66-
git push origin ${{ vars.GIT_REF_TO_DEPLOY || 'trunk' }}
67-
fi
56+
# - name: Commit dist to repository
57+
# shell: bash
58+
# run: |
59+
# git config --global user.name "github-actions[bot]"
60+
# git config --global user.email "github-actions[bot]@users.noreply.github.com"
61+
# git add dist
62+
# if git diff --cached --quiet; then
63+
# echo "No changes to commit"
64+
# else
65+
# git commit -m "Deploy website: Update dist directory"
66+
# git push origin ${{ vars.GIT_REF_TO_DEPLOY || 'trunk' }}
67+
# fi
6868

6969
# Deploy to Cloudways server via SSH
7070
# Required secrets:

0 commit comments

Comments
 (0)