mirror of https://gitlab.com/curben/blog
post(gl-artifact): fix template error
- https://hexo.io/docs/troubleshooting#Escape-Contents
This commit is contained in:
parent
43b0382b77
commit
be4b27ead7
|
@ -28,7 +28,7 @@ As for cleaning up existing job artifacts, I found the following bash script on
|
||||||
|
|
||||||
This script is especially useful for removing job artifacts were created before 22 Jun 2020, artifacts created before that date do not expire.
|
This script is especially useful for removing job artifacts were created before 22 Jun 2020, artifacts created before that date do not expire.
|
||||||
|
|
||||||
{% codeblock cleanup-gitlab.sh lang:bash https://forum.gitlab.com/t/remove-all-artifact-no-expire-options/9274/12 source %}
|
``` bash cleanup-gitlab.sh https://forum.gitlab.com/t/remove-all-artifact-no-expire-options/9274/12 source
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# https://forum.gitlab.com/t/remove-all-artifact-no-expire-options/9274/12
|
# https://forum.gitlab.com/t/remove-all-artifact-no-expire-options/9274/12
|
||||||
# Copyright 2021 "Holloway" Chew, Kean Ho <kean.ho.chew@zoralab.com>
|
# Copyright 2021 "Holloway" Chew, Kean Ho <kean.ho.chew@zoralab.com>
|
||||||
|
@ -124,7 +124,7 @@ main() {
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
main $@
|
main $@
|
||||||
{% endcodeblock %}
|
```
|
||||||
|
|
||||||
## Before & after
|
## Before & after
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue