Skip to content

Commit de71213

Browse files
adding deploy stage using paging
1 parent 4f9c1f7 commit de71213

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/first-action.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,20 @@ jobs:
1818
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
1919
- name: Run Test
2020
run: python test.py
21+
deploy:
22+
runs-on: ubuntu-latest
23+
needs: test
24+
25+
steps:
26+
- name: Checkout Repository
27+
uses: actions/checkout@v4
28+
29+
- name: Deploy to GitHub Pages
30+
uses: actions/upload-pages-artifact@v2
31+
with:
32+
path: ./
33+
34+
- name: Deploy to GitHub Pages
35+
uses: actions/deploy-pages@v2
2136

2237

0 commit comments

Comments
 (0)