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:
|
steps:
|
||||||
- name: Skip deployment if commit starts with "nodeploy"
|
- name: Skip deployment if commit starts with "nodeploy"
|
||||||
uses: Cyper/GiteaActions/skip-if-commit-prefix@main
|
id: skip_check
|
||||||
with:
|
run: |
|
||||||
prefix: nodeploy
|
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
|
- name: Checkout code
|
||||||
if: env.should_deploy == 'true'
|
if: env.should_deploy == 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user