Introduce random
JsonPath function
#67
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Jsonpath WEB | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-and-push-docker-image: | |
name: Validate Dockerfile | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: satackey/[email protected] | |
continue-on-error: true | |
- name: Dockerfile validation | |
uses: ghe-actions/dockerfile-validator@v1 | |
with: | |
dockerfile: 'Dockerfile' | |
lint: 'hadolint' | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build image | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
push: false | |
tags: jsonpath/web-validator:latest | |
- name: 'Deploy to render.com: https://jsonpath-c48u.onrender.com/' | |
if: github.ref == 'refs/heads/master' | |
env: | |
RENDER_COM_DEPLOY_HOOK_URL: ${{ secrets.RENDER_COM_DEPLOY_HOOK_URL }} | |
run: curl $RENDER_COM_DEPLOY_HOOK_URL |