-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (42 loc) · 1.04 KB
/
workflow.yml
File metadata and controls
51 lines (42 loc) · 1.04 KB
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
name: workflow
on:
- push
- workflow_dispatch
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- name: acknowledge
run: echo "push has been completed"
pull-request:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Create pull request
uses: thomaseizinger/create-pull-request@master
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
head: ${{ github.ref }}
base: main
title: "An automatically created PR!"
upload-artifact:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: uploading artifact
uses: actions/upload-artifact@v3
with:
path: index.html
name: index
download-artifact:
needs: upload-artifact
runs-on: ubuntu-latest
steps:
- name: download artifact
uses: actions/download-artifact@v3
with:
name: index
- name: List files
run: ls -l