Fix GH rev

This commit is contained in:
2023-11-04 13:11:50 +02:00
parent b280c627bc
commit a15fabf23e
2 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3.0.0 uses: actions/checkout@v3.0.0
- name: Set commit id - name: Set commit id
run: sed -e "s/tag\ =.*/tag = \"${{ github.head_ref }}.${{ github.sha }}\"/" -i config.toml run: sed -e "s/tag\ =.*/tag = \"${{ github.sha }}\"/" -i config.toml
- name: Build and push to gh-pages branch - name: Build and push to gh-pages branch
uses: shalzz/zola-deploy-action@v0.17.2 uses: shalzz/zola-deploy-action@v0.17.2
env: env:

View File

@ -6,11 +6,12 @@
</a> </a>
{% endfor %} {% endfor %}
</div> </div>
<div class="footer-info">ver. {{ config.extra.version }} | Git tag {{ config.extra.tag }} | <div class="footer-info">ver. {{ config.extra.version }} |
{{ now() | date(format="%Y") }} © {{ config.extra.copyright }} |Powered by <a href="https://github.com/getzola/zola">Zola</a> and <a {{ now() | date(format="%Y") }} © {{ config.extra.copyright }} |Powered by <a href="https://github.com/getzola/zola">Zola</a> and <a
href="https://github.com/XXXMrG/archie-zola">Archie-Zola Theme</a> href="https://github.com/XXXMrG/archie-zola">Archie-Zola Theme</a>
</div> </div>
<div class="footer-info">Git tag {{ config.extra.tag }} </div>
</footer> </footer>
{% if config.extra.social %} {% if config.extra.social %}