Skip to content

test workflow

test workflow #2

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.
name: Create and publish a dev Docker image
on:
push:
branches: ['test/workflow']
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Lark bot notify
run: |
BRANCH_NAME=$(echo $GITHUB_REF | sed 's/refs\/heads\///')
curl -X POST "https://pagespy.blucas.me/lark?branch=$BRANCH_NAME&actionId=$GITHUB_RUN_ID"