Skip to content

added message to feeds when failure happens #119

added message to feeds when failure happens

added message to feeds when failure happens #119

Workflow file for this run

name: develop
on:
push:
branches:
- "develop"
jobs:
setup:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{secrets.RUNNER_GITHUB_TOKEN}}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
- run: |
git config --global user.email "[email protected]"
git config --global user.name "Norbert Takács"
- run: npm ci
# - run: npm test
# - run: node node_modules/.bin/release-it --ci --preRelease=alpha
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@master
- name: Set up QEMU
uses: docker/[email protected]
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: bokker/rss.to.telegram:develop,bokker/rss.to.telegram:${{ steps.package-version.outputs.current-version}}-alpha
update-stack:
needs: setup
runs-on: ubuntu-latest
steps:
- name: Update deployed stack
run: |
curl --fail --insecure --request POST --url ${{ secrets.DEV_HOOK }}