Skip to content

fix: minor change

fix: minor change #6

name: Flask App CI/CD
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run check of pwd
run: pwd
- name: Run check of what's in pwd
run: ls
- name: Run a one-line script
run: python freeze.py
- name: switching from HTTPS to SSH
run: git remote set-url origin [email protected]:OpenUnited/ux-prototype.git
- name: check for changes
run: git status
- name: stage changed files
run: git add .
- name: commit changed files
run: git commit -m "Auto updating the docs"
- name: fetch from main
run: git fetch origin main
- name: push code to main
run: git push origin HEAD:main