diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb45727..31fd769 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,8 @@ jobs: run: bun install - name: Build run: bun run build + - name: Write git hash into dist + run: echo "export const GIT_HASH = '$(git rev-parse HEAD)';" > dist/git-hash.js - name: Create Build Artifact uses: christopherhx/gitea-upload-artifact@v4 with: @@ -39,7 +41,7 @@ jobs: - name: Run Biome run: biome ci . - build-and-push-docker: + create-and-publish-docker-image: needs: [build] runs-on: ubuntu-latest steps: @@ -69,6 +71,9 @@ jobs: script: | cd monitor-im-flur echo "Deploying Docker container..." + $HYPRLAND_INSTANCE_SIGNATURE + hyprctl dispatch exec 'pkill firefox' + hyprctl dispatch exec 'firefox -kiosk localhost:9123' git clean -dfx git reset --hard HEAD git pull