update submit buttons #275
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: Build and publish | |
permissions: write-all | |
on: | |
push: | |
branches: | |
- "main" # Running this workflow only for master branch | |
jobs: | |
build-and-publish-latest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.5.0 # Checking out the repo | |
- name: Build and publish "latest" Docker image | |
uses: VaultVulp/gp-docker-action@1.6.0 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} # Provide GITHUB_TOKEN to login into the GitHub Packages | |
image-name: locker-frontend # Provide only Docker image name, tag will be automatically set to latest | |
dockerfile: Dockerfile # Provide custom Dockerfile name | |
# - name: Notify Server | |
# if: ${{ success() }} # Run this step only if previous steps were successful | |
# run: | | |
# WEBHOOK_URL="https://hook.cvapps.net/webhook" | |
# curl -X POST $WEBHOOK_URL |