move back to actions
This commit is contained in:
parent
1026fbb1a8
commit
be0abfa562
1 changed files with 11 additions and 16 deletions
|
|
@ -3,16 +3,11 @@ on: [workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Deploy:
|
Deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
steps:
|
container:
|
||||||
- name: Start webhook
|
image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||||
if: ${{always()}}
|
|
||||||
continue-on-error: true
|
|
||||||
uses: fjogeleit/http-request-action@v1
|
|
||||||
with:
|
|
||||||
url: ${{vars.NODE_RED_WORKFLOW_STARTED_URL}}
|
|
||||||
data: '{"job": ${{toJSON(job)}}, "gitea": ${{toJSON(gitea)}}}'
|
|
||||||
|
|
||||||
|
steps:
|
||||||
- name: Install LFS
|
- name: Install LFS
|
||||||
run: |
|
run: |
|
||||||
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
||||||
|
|
@ -50,16 +45,16 @@ jobs:
|
||||||
username: riksolo
|
username: riksolo
|
||||||
password: ${{secrets.CONTAINER_REGISTRY_TOKEN}}
|
password: ${{secrets.CONTAINER_REGISTRY_TOKEN}}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push main
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: git.riksolo.com/riksolo/eleventy-riksolo-com:latest , git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}}
|
tags: git.riksolo.com/riksolo/eleventy-riksolo-com:latest , git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}}
|
||||||
|
|
||||||
- name: Completion webhook
|
- name: Build and push RBLicht
|
||||||
if: ${{always()}}
|
uses: docker/build-push-action@v6
|
||||||
continue-on-error: true
|
|
||||||
uses: fjogeleit/http-request-action@v1
|
|
||||||
with:
|
with:
|
||||||
url: ${{vars.NODE_RED_WORKFLOW_COMPLETE_URL}}
|
push: true
|
||||||
data: '{"job": ${{toJSON(job)}}, "gitea": ${{toJSON(gitea)}}}'
|
build_args:
|
||||||
|
- SITE=rblicht
|
||||||
|
tags: git.riksolo.com/riksolo/eleventy-riksolo-com:latest-rblicht , git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}}-rblicht
|
||||||
Loading…
Add table
Add a link
Reference in a new issue