diff --git a/deploy/action.yml b/deploy/action.yml index 624e9da..19f9757 100644 --- a/deploy/action.yml +++ b/deploy/action.yml @@ -54,8 +54,9 @@ runs: - name: Register Pangolin resource shell: bash run: | + REPO_SLUG="${GITHUB_REPOSITORY//\//-}" bash ${{ github.action_path }}/pangolin-upsert.sh \ --subdomain "${{ inputs.subdomain }}" \ --port "${{ inputs.port }}" \ - --resource-name "${{ inputs.app-name }}-${{ inputs.tag }}" \ + --resource-name "${REPO_SLUG}-${{ inputs.tag }}" \ --target-ip "$PANGOLIN_TARGET_IP"