Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wqcstrong committed Apr 19, 2024
1 parent 8722201 commit be8cec6
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# 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"

0 comments on commit be8cec6

Please sign in to comment.