Skip to content

changed to actions/upload-artifact@v4 #6

changed to actions/upload-artifact@v4

changed to actions/upload-artifact@v4 #6

Workflow file for this run

name: My First Github Actions
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
# - name: Install Dependencies
# run: |
# python -m pip install --upgrade pip
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run Test
run: python test.py
deploy:
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Deploy to GitHub Pages
uses: actions/upload-pages-artifact@v4
with:
path: ./
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2