1
0
mirror of https://github.com/house-of-vanity/house-of-vanity.github.io.git synced 2026-05-07 06:49:56 +00:00

Fix
Build and deploy GH Pages / build (push) Has been cancelled

This commit is contained in:
Alexandr Bogomyakov
2024-10-04 03:42:08 +03:00
committed by GitHub
parent 46dcfd14f0
commit 2b891b52f4
+4 -3
View File
@@ -9,11 +9,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v3.0.0
- name: Get short SHA
run: echo "SHORT_SHA=$("${{ github.sha }}".SubString(0, 8))" >> $env:GITHUB_ENV
- name: Set outputs
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Set commit id
run: sed -e "s/tag\ =.*/tag = \"${{ env.SHORT_SHA }}\"/" -i config.toml
run: sed -e "s/tag\ =.*/tag = \"${{ steps.vars.outputs.sha_short }}\"/" -i config.toml
- name: Build and push to gh-pages branch
uses: shalzz/zola-deploy-action@v0.17.2