Skip to content

Commit be8cec6

Browse files
committed
test workflow
1 parent 8722201 commit be8cec6

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/test.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# GitHub recommends pinning actions to a commit SHA.
7+
# To get a newer version, you will need to update the SHA.
8+
# You can also reference a tag or branch, but the action may change without warning.
9+
10+
name: Create and publish a dev Docker image
11+
12+
on:
13+
push:
14+
branches: ['test/workflow']
15+
16+
env:
17+
REGISTRY: ghcr.io
18+
IMAGE_NAME: ${{ github.repository }}
19+
20+
jobs:
21+
build-and-push-image:
22+
runs-on: ubuntu-latest
23+
permissions:
24+
contents: read
25+
packages: write
26+
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v3
30+
31+
- name: Lark bot notify
32+
run: |
33+
BRANCH_NAME=$(echo $GITHUB_REF | sed 's/refs\/heads\///')
34+
curl -X POST "https://pagespy.blucas.me/lark?branch=$BRANCH_NAME&actionId=GITHUB_RUN_ID"

0 commit comments

Comments
 (0)