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:
|
||||
Deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Start webhook
|
||||
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)}}}'
|
||||
runs-on: docker
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||
|
||||
steps:
|
||||
- name: Install LFS
|
||||
run: |
|
||||
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
||||
|
|
@ -50,16 +45,16 @@ jobs:
|
|||
username: riksolo
|
||||
password: ${{secrets.CONTAINER_REGISTRY_TOKEN}}
|
||||
|
||||
- name: Build and push
|
||||
- name: Build and push main
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: git.riksolo.com/riksolo/eleventy-riksolo-com:latest , git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}}
|
||||
|
||||
- name: Completion webhook
|
||||
if: ${{always()}}
|
||||
continue-on-error: true
|
||||
uses: fjogeleit/http-request-action@v1
|
||||
- name: Build and push RBLicht
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
url: ${{vars.NODE_RED_WORKFLOW_COMPLETE_URL}}
|
||||
data: '{"job": ${{toJSON(job)}}, "gitea": ${{toJSON(gitea)}}}'
|
||||
push: true
|
||||
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