Skip to content

Rename gh-pages.yml to gh-deploy.yml #1

Rename gh-pages.yml to gh-deploy.yml

Rename gh-pages.yml to gh-deploy.yml #1

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Node.js ✨
uses: actions/setup-node@v4
with:
node-version: "16"
- name: Install 📦
run: npm install
- name: Build 🔧
run: npm run build
env:
BASE_URL: /learn-python/
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
BRANCH: gh-pages
FOLDER: lesson/.vuepress/dist