fricken gitea
This commit is contained in:
parent
bec851d3ad
commit
df8d6f19e2
@ -22,6 +22,9 @@ env:
|
||||
jobs:
|
||||
check-latest:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
latest_tag: ${{ steps.check-latest.outputs.latest_tag }}
|
||||
run_workflow: ${{ steps.check-latest.outputs.run_workflow }}
|
||||
steps:
|
||||
- name: Get latest release
|
||||
id: check-latest
|
||||
@ -42,7 +45,6 @@ jobs:
|
||||
echo "::set-output name=run_workflow::false"
|
||||
fi
|
||||
|
||||
# Debug output
|
||||
echo "Latest tag: $latest_tag"
|
||||
echo "Published at: $published_at"
|
||||
echo "Time diff: $time_diff"
|
||||
@ -51,10 +53,12 @@ jobs:
|
||||
needs: check-latest
|
||||
# if: needs.check-latest.outputs.run_workflow == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RELEASE_TAG: ${{ jobs.check-latest.outputs.latest_tag }}
|
||||
steps:
|
||||
- name: echo TAG
|
||||
run: |
|
||||
echo "New release detected: ${{ needs.check-latest.outputs.latest_tag }}"
|
||||
echo "New release detected: $RELEASE_TAG"
|
||||
- name: "Clone project repository"
|
||||
uses: actions/checkout@v3
|
||||
- name: Use Node.js
|
||||
@ -67,7 +71,7 @@ jobs:
|
||||
run: |
|
||||
npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/
|
||||
npm install -g @cerc-io/laconic-registry-cli
|
||||
#- name: "Install jq"
|
||||
# run: sudo apt -y update && sudo apt -y install jq
|
||||
- name: "Install jq"
|
||||
run: sudo apt -y update && sudo apt -y install jq
|
||||
- name: "Deploy Namada"
|
||||
run: ./deploy.sh ${{ env.TARGET_REPO }} ${{ needs.check-latest.outputs.latest_tag }}
|
||||
run: ./deploy.sh ${{ env.TARGET_REPO }} $RELEASE_TAG
|
||||
|
Loading…
Reference in New Issue
Block a user