Skip to content

add scrainbow - web @ LIT CTF (#43) #55

add scrainbow - web @ LIT CTF (#43)

add scrainbow - web @ LIT CTF (#43) #55

Workflow file for this run

name: ci
# Controls when the action will run.
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build-and-deploy:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8' # 3.x
cache: 'pip'
- name: Install requirements
run: python3.8 -m pip install -r requirements.txt
- name: Build Docs
run: mkdocs build
#run: mkdocs gh-deploy --force
- name: Deploy to Github Pages
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: site # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch