mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00

Follow-up to #630. The check for the target git sha can does not work in the molecule step. Instead expose the sha through an env variable in GitHub actions.
11 lines
346 B
YAML
11 lines
346 B
YAML
---
|
|
- name: update previous release to newest release
|
|
hosts: all
|
|
tasks:
|
|
- name: set current github commit as version when available
|
|
set_fact:
|
|
paperlessng_version: "{{ lookup('env', 'TARGET_GITHUB_SHA') | default('master', True) }}"
|
|
- name: update to newest paperless-ng release
|
|
include_role:
|
|
name: ansible
|