Skip to content

Commit f7e421b

Browse files
Create main.yml
1 parent 9dd2ee4 commit f7e421b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: GitHub Actions Demo
2+
on: [push]
3+
4+
jobs:
5+
Explore-GitHub-Actions:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Check out repository code
9+
uses: actions/checkout@v4
10+
11+
- name: Print details
12+
run: |
13+
echo "🎉 Triggered by a ${{ github.event_name }} event."
14+
echo "🐧 Running on ${{ runner.os }} server."
15+
echo "🔎 Branch name: ${{ github.ref }}."
16+
echo "Repository: ${{ github.repository }}."
17+
18+
- name: List files
19+
run: ls ${{ github.workspace }}
20+
21+
- name: Deploy to GitHub Pages
22+
run: echo "🚀 Deployment task here."

0 commit comments

Comments
 (0)