add dydx #22
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: GitHub Action for DigitalOcean - doctl | |
# You may pin to the exact commit or the version. | |
# uses: digitalocean/action-doctl@7f3a9967e5f7b8f4581cf10e6891535614f36850 | |
uses: digitalocean/[email protected] | |
with: | |
# Version of doctl to install | |
# version: # optional, default is latest | |
# DigitalOcean API Token | |
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} | |
- name: DigitalOcean Docker Image Publish | |
# You may pin to the exact commit or the version. | |
# uses: ripplr-io/docr-docker-publish@4b4d57000d6e16fe589b3cea2d491830b9d7da87 | |
uses: ripplr-io/docr-docker-publish@v1 | |
with: | |
# Image path in the format registry-name/image-name | |
image_path: ${{ secrets.IMAGE_PATH }} | |
# Number of characters from the commit SHA | |
sha_size: 8 # optional, default is 8 | |
- name: Notify Telegram | |
uses: yanzay/[email protected] | |
if: always() | |
with: | |
chat: ${{ secrets.chat }} # user id or channel name secret | |
token: ${{ secrets.token }} # token secret | |
status: ${{ job.status }} # do not modify this line |