diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index f1bc77ff..a2a64270 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -53,6 +53,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + ref: ${{ github.event.workflow_run.head_branch }} + fetch-depth: 0 - uses: actions/download-artifact@v3 with: @@ -73,8 +76,8 @@ jobs: run: pakman push shell: alpine.sh {0} env: - WORKFLOW_REF: ${{ github.ref }} - WORKFLOW_SHA: ${{ github.sha }} + WORKFLOW_REF: ${{ github.event.workflow_run.head_branch }} + WORKFLOW_SHA: ${{ github.event.workflow_run.head_sha }} INSTELLAR_ENDPOINT: ${{vars.INSTELLAR_ENDPOINT}} INSTELLAR_PACKAGE_TOKEN: ${{secrets.INSTELLAR_PACKAGE_TOKEN}} INSTELLAR_AUTH_TOKEN: ${{secrets.INSTELLAR_AUTH_TOKEN}} diff --git a/mix.exs b/mix.exs index 8facc312..a3d15604 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule Uplink.MixProject do def project do [ app: :uplink, - version: "0.9.2", + version: "0.9.3", elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod,