-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (46 loc) · 1.55 KB
/
testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Lint and Testing
on:
push:
jobs:
testing:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: update some text
run: |
openssl rand -hex 16 > test.txt
- name: git push changes
uses: appleboy/git-push-action@main
with:
author_email: 41898282+github-actions[bot]@users.noreply.github.com
author_name: GitHub Actions
branch: main
commit: true
commit_message: "[skip ci] Updated changes from github actions"
remote: [email protected]:go-training/drone-git-push-example.git
ssh_key: ${{ secrets.DEPLOY_KEY }}
- name: update some text 2
run: |
openssl rand -hex 16 > test.txt
- name: git push changes 2
uses: appleboy/git-push-action@main
with:
branch: main
commit: true
commit_message: "[skip ci] Updated changes default user"
remote: [email protected]:go-training/drone-git-push-example.git
ssh_key: ${{ secrets.DEPLOY_KEY }}
- name: update some text 3
run: |
openssl rand -hex 16 > test.txt
- name: git push changes 3
uses: appleboy/git-push-action@main
with:
author_email: [email protected]
author_name: GiteaBot
branch: main
commit: true
commit_message: "[skip ci] Updated changes by gitea bot"
remote: [email protected]:go-training/drone-git-push-example.git
ssh_key: ${{ secrets.DEPLOY_KEY }}