Skip to content

Commit

Permalink
Add upload and deploy artifact steps
Browse files Browse the repository at this point in the history
  • Loading branch information
thevahidal committed Dec 28, 2023
1 parent 6d071a3 commit 78bf606
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/hellow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ jobs:
cache: "poetry"

- run: poetry install
- run: |
poetry run python script.py
git add -A
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m 'Deploy'
git push
- run: poetry run python script.py
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: .
- id: deployment
uses: actions/deploy-pages@main
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,4 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

index.html

0 comments on commit 78bf606

Please sign in to comment.