Reverting separate repository for deployment changes
All checks were successful
Deploy Blog to Folder / deploy (push) Successful in 1s
All checks were successful
Deploy Blog to Folder / deploy (push) Successful in 1s
This commit is contained in:
@ -11,9 +11,15 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Skip deployment if commit starts with "nodeploy"
|
||||
uses: Cyper/GiteaActions/skip-if-commit-prefix@main
|
||||
with:
|
||||
prefix: nodeploy
|
||||
id: skip_check
|
||||
run: |
|
||||
COMMIT_MSG="${{ event.head_commit.message }}"
|
||||
echo "Commit message: $COMMIT_MSG"
|
||||
if [[ "$COMMIT_MSG" == nodeploy* ]]; then
|
||||
echo "should_deploy=false" >> $GITHUB_ENV
|
||||
else
|
||||
echo "should_deploy=true" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: Checkout code
|
||||
if: env.should_deploy == 'true'
|
||||
|
||||
Reference in New Issue
Block a user