diff --git a/.github/workflows/hellow.yaml b/.github/workflows/hellow.yaml index 3fa9843..b811957 100644 --- a/.github/workflows/hellow.yaml +++ b/.github/workflows/hellow.yaml @@ -16,10 +16,13 @@ jobs: cache: "poetry" - run: poetry install - - run: | - poetry run python script.py - git add -A - git config --local user.email "action@github.com" - 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 diff --git a/.gitignore b/.gitignore index b1cb160..6aa3619 100644 --- a/.gitignore +++ b/.gitignore @@ -159,3 +159,4 @@ cython_debug/ # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ +index.html