nodeploy: Switched to action repo
Some checks failed
Deploy Blog to Folder / deploy (push) Failing after 0s
Some checks failed
Deploy Blog to Folder / deploy (push) Failing after 0s
This commit is contained in:
@ -11,15 +11,9 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Skip deployment if commit starts with "nodeploy"
|
- name: Skip deployment if commit starts with "nodeploy"
|
||||||
id: skip_check
|
uses: Cyper/GiteaActions/skip-if-commit-prefix@main
|
||||||
run: |
|
with:
|
||||||
COMMIT_MSG="${{ event.head_commit.message }}"
|
prefix: nodeploy
|
||||||
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